EQ2Interface.com
Search Downloads


Go Back   EQ2Interface > Developer Discussion > XML Modification Help & Info

Reply
Thread Tools Search this Thread Display Modes
  #1  
Unread 04-30-2008, 04:05 PM
maximoz maximoz is offline
A Crazed Gnoll
Interface Author - Click to view interfaces
 
Join Date: Feb 2008
Server: Antonia Bayle
Posts: 24
Default 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!
Reply With Quote
  #2  
Unread 04-30-2008, 10:38 PM
Landiin Landiin is offline
Slayer of clock cycles
This person is a EQ2Map developer.
Featured
 
Join Date: Nov 2004
Server: Oasis
Posts: 3,464
Default

On the root node of the window is where you want to put it.

Code:
<Page Name="Experience" OnShow="show_window custom.mywindow">
...
</Page>
__________________
Landiin's EQ2MAP Updater Discussion Download
Reply With Quote
  #3  
Unread 05-01-2008, 03:08 AM
maximoz maximoz is offline
A Crazed Gnoll
Interface Author - Click to view interfaces
 
Join Date: Feb 2008
Server: Antonia Bayle
Posts: 24
Default

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.

Last edited by maximoz : 05-01-2008 at 03:16 AM.
Reply With Quote
  #4  
Unread 05-01-2008, 07:44 AM
dragowulf's Avatar
dragowulf dragowulf is offline
A man among men
This person is a EQ2Map developer.
Interface Author - Click to view interfaces
 
Join Date: Dec 2004
Server: Nagafen
Posts: 934
Default

Quote:
Originally Posted by maximoz View Post
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.
command for showing inventory is "show_window Inventory.Inventory"
__________________
May Jesus Have Mercy On Us
Reply With Quote
  #5  
Unread 05-01-2008, 08:31 AM
Landiin Landiin is offline
Slayer of clock cycles
This person is a EQ2Map developer.
Featured
 
Join Date: Nov 2004
Server: Oasis
Posts: 3,464
Default

Quote:
Originally Posted by maximoz View Post
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.
No you only need to enter the command once if you do it the way I showed. If you used show_window=custom.mywindow you would have to enter it twice, so don't use the = :P

What dragowulf said for the inventory window.
__________________
Landiin's EQ2MAP Updater Discussion Download
Reply With Quote
  #6  
Unread 05-01-2008, 09:11 AM
maximoz maximoz is offline
A Crazed Gnoll
Interface Author - Click to view interfaces
 
Join Date: Feb 2008
Server: Antonia Bayle
Posts: 24
Default

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 ?

Last edited by maximoz : 05-01-2008 at 09:44 AM.
Reply With Quote
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -5. The time now is 02:31 PM.


Our Network
EQInterface | EQ2Interface | WoWInterface | LoTROInterface | ESOUI | MMOUI