und34d-rul3
New Member
- Reaction score
- 12
why wont this work??
Code:
win
Events
Unit - A unit Dies
Conditions
Player_kills[(Player number of (Owner of (Killing unit)))] Equal to 100
Actions
Player Group - Add (Owner of (Killing unit)) to Winners
Player Group - Pick every player in (All allies of (Owner of (Killing unit))) and do (Player Group - Add (Triggering player) to Winners)
Player Group - Pick every player in (All enemies of (Owner of (Killing unit))) and do (Game - Defeat (Matching player) with the message: You Lost)
Player Group - Pick every player in Winners and do (Game - Victory (Triggering player) (Show dialogs, Show scores))