Question about Eq2UIPage "IsVisible" member

mistahmikey

Active Member
The following code will wait forever, even if the Journal is displayed, until the mouse is place over the window.

while !${EQ2UIPage[Journals,JournalsQuest].IsVisible}
{
waitframe
}

Is this intended? It seems to be working the same as the description for IsMouseOver in the release notes. It certainly would be more useful (IMO) for IsVisible to return TRUE whenever the Page is displayed, regardless of where the mouse is positioned.
 

Amadeus

The Maestro
Staff member
The following code will wait forever, even if the Journal is displayed, until the mouse is place over the window.
The mouse must be hovering over UI elements before their data is updated and available. It has always been thus. This is why I included a block for this in the sample script I provided (for handling collections) and why broker interaction scripts require this as well:

Code:
        if (!${EQ2UIPage[Journals,JournalsQuest].IsMouseOver})
        {
            echo "EQ2Collection.Debug::  Please make sure that the journal window is open and the mouse is hovering over it."
            echo "EQ2Collection.Info::  End Script"
            return
        }
 
Top Bottom