What I want the trigger to do is the end the game/show victory/defeat if all slayers are dead. The problem is in the second condition, but it looks like it should be correct. Help?
SlayerDeath
Events
Unit - A unit Dies
Conditions
(Unit-type of (Triggering unit)) Equal to Slayer
(Number of units in (Units of type Slayer)) Equal to 0
Actions
Player Group - Pick every player in (All allies of Player 12 (Brown)) and do (Actions)
Loop - Actions
Game - Victory (Picked player) (Show dialogs, Show scores)
Player Group - Pick every player in (All allies of Player 6 (Orange)) and do (Actions)
Loop - Actions
Game - Defeat (Picked player) with the message: Defeat!
SlayerDeath
Events
Unit - A unit Dies
Conditions
(Unit-type of (Triggering unit)) Equal to Slayer
(Number of units in (Units of type Slayer)) Equal to 0
Actions
Player Group - Pick every player in (All allies of Player 12 (Brown)) and do (Actions)
Loop - Actions
Game - Victory (Picked player) (Show dialogs, Show scores)
Player Group - Pick every player in (All allies of Player 6 (Orange)) and do (Actions)
Loop - Actions
Game - Defeat (Picked player) with the message: Defeat!