EQ2Interface.com
Search Downloads


Go Back   EQ2Interface > Developer Discussion > UI Developer Discussion

 
 
Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1  
Unread 10-13-2005, 11:00 AM
Valdacil Valdacil is offline
A Mist Grinnin
Interface Author - Click to view interfaces
 
Join Date: Dec 2004
Server: Antonia Bayle
Posts: 75
Default Conditional Statements?

Since I haven't located any information on this in a search and nobody has given a clear answer on my post regarding Market Presets Revisited I thought I'd ask here:

Is there any way to do conditional statements in the xml we have for EQ2 interface mods?

I'd like to setup a Market Preset button which will fill in the current character's class and level when the button is pressed. I know how to force the level fill in, however since the class is a drop down the class name would need to be resolved to a number. In order to do that I'd have to setup a series of conditionals (if class=fighter then classlist=1 elseif class=brawler classlist=2 elseif ...). Unless someone can come up with a different way of retrieving the character's class from GameData and parsing that to the appropriate number on the class list drop down in the market window.
Reply With Quote
 



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 04:10 AM.


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