[Trigger] Conditions

Status
Not open for further replies.
Level 3
Joined
Aug 8, 2013
Messages
20
i'm doing a map and i want to do a of condition and then actions but to do that if lets say the town hall is not destroyed and that was an objective one of condition is if Townhall = Dead (then Do actions) or if TownHall = alive (then do actions) how persay i would do that i don't see an option to really do that.
 
whazat ? Do you mean you don't know how to trigger the actions you have in mind ?
 
you can use the action : if/then/else multiple at first and then

if: condition: "Unit" is alive egal TRUE (as Nichilus said "boolean comparaison")
then: action
else: action
 
  • Town Hall Destroyed
  • Events
    • Unit - Dies
  • Conditions
    • Unit type of Dying unit Equal to Town Hall
  • Actions
    • -------- DO WHAT EVER YOU WANT -------
or
  • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
    • If - Conditions
      • Town_Hall is dead Equal to true
    • Then - Actions
      • -------- DO WHATEVER YOU WANT ---------
    • Else - Actions
 
Status
Not open for further replies.
Back
Top