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.
|