![]() |
OnShow and where to use it ?
Hi All experienced modders,
I did a search and saw that using the experience xml file is a good way to use onshow to display custom window. What i am not sure is where exactly in the experience xml file do i insert this onshow? Is it any object? Thanks! |
On the root node of the window is where you want to put it.
Code:
<Page Name="Experience" OnShow="show_window custom.mywindow"> |
Thanks Landiin.
Another question: does the command needs to be entered twice ? That is: <Page Name="Experience" OnShow="show_window custom.mywindow show_window custom.mywindow"> Also if i want to show my inventory when i login, is the command "show_window MainHUD.Inventory" ? I read somewhere it used to be so. |
Quote:
|
Quote:
What dragowulf said for the inventory window. |
Thanks to the both of you!
Will give it a try once the server is up :) Hmm is there somewhere i can find info on when to use MainHUD.mywindow vs Parent.MainHUD.mywindow vs Parent.Parent vs mywindow.mywindow, etc ? |
| All times are GMT -5. The time now is 02:36 AM. |
vBulletin® - Copyright ©2000 - 2026, Jelsoft Enterprises Ltd.
© MMOUI