- Joined
- Apr 27, 2005
- Messages
- 28
Here my trigger for victory of force one...
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?
Code:
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?