![]() |
Creating a new page under MainHud
I've been creating a new page under MainHud - it is a copy of the player page - I've changed the page name to be different - what I don't understand is why it won't show up - Visible is set to true (default) - Is it ok to create one's own page with different names and expecting them to be displayed as the regular EQ2 standard ones?
Thanks for any help |
Custom pages won't show automatically. You can either make another window load yours using OnShow="show_window=(MainHUD.yourwindowname) show_window=(MainHUD.yourwindowname)" or by typing /show_window MainHUD.yourwindowname in the chat window.
At least this is the general rule, there are exceptions when you use some of SOE's unused windows. Quib |
Thanks Quib. That helps a lot.
I can show the window if I use /show_window MainHUD.Player2 However I've set the OnShow property of the Experience page to be: OnShow=show_window=(MainHUD.Player2) the windows Player2 does not appear upon loading the first MainHUD page... 'Player2' is the name of my new page under MainHUD. Any idea? |
Need to do show_window=(MainHUD.Player2) TWICE. First time it sets a property on the Experience page, second time it actually executes the command.
|
Thanks DB,
I tried it as well and not good. Here is what I have tried: /* With quotes */ OnShow="show_window=(MainHUD.Player2) show_window=(MainHUD.Player2)" /* Without quotes */ OnShow=show_window=(MainHUD.Player2) show_window=(MainHUD.Player2) I've the OnShow set on the main Experience page - maybe I should try another page. if I do /show_window MainHUD.Player2 then it works Gonna try with a different page...maybe XP |
OnShow sometimes has issues triggering.
Try this: OnHide="visible=true show_window=(MainHUD.Player2) show_window=(MainHUD.Player2)" visible="false" |
DB,
I just tried on the main Experience page and still a no go :( I've copy-pasted the following in the OnHide entry field: "visible=true show_window=(MainHUD.Player2) show_window=(MainHUD.Player2)" visible="false" (with quotes of course) Arghhh ;) Thanks for your help. |
Er...
Clear the OnShow field. Paste the following into the OnHide field: visible=true show_window=(MainHUD.Player2) show_window=(MainHUD.Player2) Paste the following into the Visible field: false |
Visible is the initial value. If your UI ini says X window is visible it'll change from the default to the saved state; true to true (no change so no call is made) or false to true (which is what we want to happen). This means you want to set the window Visible=false and use the OnShow message which EQ2 will call when it forces the window to show upon logging in.
In other words, if you set Visible=false and try to do an OnHide message, it won't get called during login if you last camped with that window open. This is how it's worked for me anyway. Quib |
Quote:
If you guys want to try it out - just duplicate the Player page into a Player2 page at the same level - I changed the description of Player2....now try to make it launch from the Experience page....this is what am trying to do basically - Page2 always works fine when typing /show_window in the console... Thanks. |
Quote:
http://www.eq2interface.com/forums/s...ead.php?t=1127 Just change it from MainHUD.Inventory to MainHUD.Player2 |
Thanks Guys,
Setting OnHide="visible=true show_window=(MainHud.Inventory) show_window=(MainHud.Inventory)" on the new page made it work - it now appears fine after logging....Nice trick... |
| All times are GMT -5. The time now is 05:17 AM. |
vBulletin® - Copyright ©2000 - 2026, Jelsoft Enterprises Ltd.
© MMOUI