- Joined
- May 20, 2009
- Messages
- 821
This should work, right?
I'm asking because I keep having issues; It defeats Player 1 if a Creep is killed and I think it's because I didn't have this -
-
Victory Conditions
-

Events
-


Unit - A unit Dies
-
-

Conditions
-


(Owner of (Dying unit)) Equal to Player 1 (Red)
-
-

Actions
-


If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-



If - Conditions
-




(Number of units in (Units owned by Player 1 (Red) matching (((Dying unit) is A structure) Equal to True))) Equal to 0
-
-



Then - Actions
-




Game - Defeat Player 1 (Red) with the message: Defeat!
-
-



Else - Actions
-
-
-
I'm asking because I keep having issues; It defeats Player 1 if a Creep is killed and I think it's because I didn't have this -
-
Conditions
-

(Owner of (Dying unit)) Equal to Player 1 (Red)
-



