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
  #14  
Old 05-19-2005, 06:23 AM
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

Quote:
Originally Posted by Profit
Thanks DB

I'm looking at the If statements now, but really need an example to continue.
For future reference, it's actually much simpler. :P

(Button_object).Activated=(X==Y)

(Button_object)'s OnActivate event triggers if X=Y. Otherwise, the OnDeActivate triggers. Just put the scripts into each event.

It's usually slightly more complicated than that (OnActivate won't trigger if Activated=true already), but in this case we don't need that since we want the change state to correspond directly to the true/false value at all times.
__________________
If it ain't broke, it needs more features!

Last edited by Deathbane27 : 05-19-2005 at 06:25 AM.
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:07 AM.


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