View Single Post
  #2  
Unread 10-13-2005, 01:04 PM
Deathbane27's Avatar
Deathbane27 Deathbane27 is offline
aka Mook
This person is a EQ2Map developer.
Interface Author - Click to view interfaces
 
Join Date: Jul 2004
Server: Nektulos
Posts: 1,451
Default

PlayerClass is a text object with the class dynamic data.

MainButton is the button you press

<Button Name="MainButton" OnPress="Parent.Button1.Activated=(Parent.PlayerClass.LocalText=='Fighter') Parent.Button2.Activated=(Parent.PlayerClass.LocalText=='Scout') ..." ...>

<Button Name="Button1" OnActivate="Parent.WhateverTheClassPulldownThingNameIs.SelectedItem=1 Activated=false" ...>

That should give you a general idea. If you need more examples, scroll down to Similar Threads and click on "Working IF statements!"
__________________
If it ain't broke, it needs more features!
Reply With Quote