![]() |
Need code help please
I'm trying to get a custom window to show when I load up the game, but so far nothing I've tried has worked.
I've tried the following, none of it has worked: OnShow commands to both the clock and player window Onhide commands to both the clock and player window (Both of the above using custom.player2 and mainhud.player2) Visible=true command to the custom window Dynamicdatafilter=0000, FFFF, FFFE, and 0001 Adding an include in the Mainhud.xml Removing the include in the mainhud.xml Listing it as eq2ui_mainhud_player2 Listing is as _custom_player2 I've tried each of those in every different combination I can think of. The window functions properly when I /Show_window mainHUD.player2 in game but it will not load when the rest of the windows load. Is this just impossible what I'm trying to do, or am I missing something? Thanks~ |
You have to initialize the window with the show_window command. Then you can use the visible property to show and hide the window but not until.
So you can add OnSHow="show_window Custom.player2" to your script to get it so show. |
Yes, that works fine in game, to make it come up, but I'm looking to get this thing to load with the rest of the windows when I boot the game - without having to enter a / command. :confused:
|
Edited my 1st post, I should of been more clear sorry..
|
I currently have it in the clock xml file to OnSHow="show_window Custom.player2 show_window Custom.player2" and I can use the in game command to bring it up and move it around, resize and everything, but when I log out and back in I have to again type the /show window command to bring it up. I'd just like it to automatically show when I log in game without having to type the /show_window command - is there a way to do this? Am I completely misunderstanding what you're telling me? =/
|
I'm trying to do the same thing but I'm not as smart as you guys so where do I place the onshow command? Can you make the reply for dummies please and thank you.
as of right now I have an in game macro to get the window up it is a /show_window macro. It would sure be nice to have it load up with the rest of my windows. Thanks, James P.S. What is the format for an include command (/include filename, <include filename>, include filename etc.? How do I write it is what I mean? and where can I see some of them in my eq2 folder? I'm trying to learn this stuff. |
Quote:
Jamesc146; it is <include>filename</include> |
Quote:
|
thanks that's a big help
|
| All times are GMT -5. The time now is 04:54 PM. |
vBulletin® - Copyright ©2000 - 2026, Jelsoft Enterprises Ltd.
© MMOUI