Force1
Events
Unit - A unit owned by Player 5 (Yellow) Dies
Unit - A unit owned by Player 6 (Orange) Dies
Unit - A unit owned by Player 7 (Green) Dies
Unit - A unit owned by Player 9 (Gray) Dies
Conditions
((Triggering player) is an ally of Player 5 (Yellow)) Equal to True
Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Number of units in (Units in (Playable map area) owned by (Matching player))) Equal to 0
Then - Actions
Game - Victory Player 1 (Red) (Show dialogs, Show scores)
Game - Victory Player 2 (Blue) (Show dialogs, Show scores)
Game - Victory Player 3 (Teal) (Show dialogs, Show scores)
Game - Victory Player 4 (Purple) (Show dialogs, Show scores)
Else - Actions
Problem is as soon as 1 builing of an opponents dies your force wins.... I thought that it looked right... anyone see what wrong with it?
232 posts California (the center of the world) joined
#4
ok, make a timer event then. like every x seconds.
edit: i think matching player, ive never used it, but i know triggering player works. it would replace it becuase its the triggering player that the event is happening to. so you would need the timer event, just change matching to triggering.
also, you can still change to generic unit event, and do make sure the owner of triggering player = ally of player 5. then, instead of triggering player, its owner of triggering unit.
however, for the quick fix, just change to triggering player.