View Single Post
  #6  
Old 05-24-2011, 03:09 PM
ZaltysZ's Avatar
ZaltysZ ZaltysZ is offline
Approved Member
 
Join Date: Sep 2008
Location: Lithuania
Posts: 426
Default

"active" is boolean (logical true or false). You should check "active" to see if trigger is active.

Code:
if (shortName.Equals("attackConvoyDelay") && active)
means: if trigger name is "attackConvoyDelay" AND (&&) this trigger is active, then do something...
Reply With Quote