EQ2Interface

EQ2Interface (https://www.eq2interface.com/forums/index.php)
-   Wish List (https://www.eq2interface.com/forums/forumdisplay.php?f=10)
-   -   Custom Window loading (https://www.eq2interface.com/forums/showthread.php?t=10547)

Drumstix42 03-06-2008 12:39 PM

Custom Window loading
 
Adding a eq2ui_custom.xml was a nice step in the direction for including external custom files and windows. For the most part it just cuts down in compatibility issues with game updates, as compared to including in default files.

However, I'd still love to see a way to show custom windows, without having to include code in default windows.

The only ideas I would really have by this would be to have some type of property in the top level page of a window, that would set it to show on loading. Or at least the possiblity of loading.

In other words, a property that would be called upon parsing the window.

onParse='visible=true' or onParse='show_window Custom.WindowName'

edit:
as gm9 suggested, a "ShowOnLoad" boolean value would rock

gm9 03-06-2008 12:46 PM

/signed

Making window loading self-sufficient in the way it is done for default UI windows would be quite helpful as it would allow UI elements to completely reside within the Custom tree and still show automatically. A simple tag on the window's root page like ShowOnLoad would be enough, further scripting can be done via the OnShow event.

Additionally, I'm running into lag problems with my SubclassDetection on slow systems when triggered right upon UI load, so a LoadDelayed property to load a window only after everything else has been initialized would be sweet.

Drumstix42 03-06-2008 01:35 PM

Quote:

Originally Posted by gm9 (Post 70448)
A simple tag on the window's root page like ShowOnLoad would be enough, further scripting can be done via the OnShow event.

Agreed. :cool:

abbelyn 04-11-2008 12:21 PM

Count me in for this as well, I have my custom windows set via OnShow right now, but some of the OnShow links from one window to another don't seem to want to work (conflicts I think, still looking into it).

gm9 04-11-2008 12:35 PM

Quote:

Originally Posted by abbelyn (Post 71747)
Count me in for this as well, I have my custom windows set via OnShow right now, but some of the OnShow links from one window to another don't seem to want to work (conflicts I think, still looking into it).

OnShow/OnHide event processing does not work on all windows upon login, it is best to use those containing DynamicData, that seems to load a bit later and thus trigger the event reliably. For others, even if it appears to work for you, it might not work for all of your users (basically the lag issues I mentioned above). I did some "field tests" on that a while ago using my updater users as guinea pigs. Triggering via the experience window works best it appears, at least for my UI.

abbelyn 04-15-2008 07:44 AM

Aye, have been using the Experience window

gm9 12-05-2008 07:46 PM

While Rothgar has got that loving feeling towards us I'll shamelessly /bump this and will point out that there are other good requests in this forum too. :p

dragowulf 12-05-2008 08:00 PM

Yeah definitely. We need more event trigger functions.


All times are GMT -5. The time now is 11:08 PM.

vBulletin® - Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
© MMOUI