View Single Post
  #12  
Unread 05-11-2005, 05:34 PM
Zonx's Avatar
Zonx Zonx is offline
A Green Troll
This person is a EQ2Map developer.
Featured
 
Join Date: Dec 2004
Server: Blackburrow
Posts: 2,221
Default

Here's a link to the IF Statement thread.

Basically you create an action button with scripts assigned to OnActivate and OnDeactivate (or some other boolean event pair). Then use a comparison test to set the boolean value.

button.activated="health<50"

<button name="button" OnActivate="lessthan50script" OnDeactivate="greaterthan50script">
Reply With Quote