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 06-15-2006, 06:48 PM
Celestian Celestian is offline
A Crazed Gnoll
Interface Author - Click to view interfaces
 
Join Date: Nov 2004
Server: Antonia Bayle
Posts: 23
Default if then else and gamedata

Ok, say I wanted to check to see if a player was a Templar and if so make a page visible. Something like...

OnActivate="Visible=(GameData.Self.SubClass==Templar)"
or something like:
OnActivate="Visible=(Parent.Parent.Player.SubClass.Text==Templar)"

Now first, can you use GameData in this fashion or do I need to use the Parent.* vars, if so where are the "Self" player fields. I looked in the default ui and couldn't find them myself.

Can you use if, then, else statements? If so whats the proper format?

If there is a FAQ on such things please feel free to point me to them, thanks!

Last edited by Celestian : 06-15-2006 at 06:55 PM.
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 11:04 AM.


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