BlargIAmDead
New Member
- Reaction score
- 25
I'm making a set of triggers where if Players 3 and 4 lose all of their buildings and units, they lose, and when both have lost, Player 2 gets a victory.
Hatecrest
Events
Player - Player 3 (Teal)'s Food used becomes Equal to 0.00
Conditions
(Count structures controlled by Player 3 (Teal) (Exclude incomplete structures)) Equal to 0
Actions
Wait 2.00 seconds
Game - Defeat Player 3 (Teal) with the message: The Hatecrest Naga ...
Quest - Display to (All players) the Warning message: WARNING: The Hatecr...
Set HatecrestDefeat = True
Trigger - Run Murfolk Victory <gen> (checking conditions)
Slitherblade
Events
Player - Player 4 (Purple)'s Food used becomes Equal to 0.00
Conditions
(Count structures controlled by Player 4 (Purple) (Exclude incomplete structures)) Equal to 0
Actions
Wait 2.00 seconds
Game - Defeat Player 4 (Purple) with the message: The Slitherblade Na...
Quest - Display to (All players) the Warning message: WARNING: The Slithe...
Set SlitherbladeDefeat = True
Trigger - Run Murfolk Victory <gen> (checking conditions)
Murloc Victory
Events
Conditions
(HatecrestDefeat Equal to True) and (SlitherbladeDefeat Equal to True)
Actions
Wait 5.00 seconds
Game - Victory Player 2 (Blue) (Show dialogs, Show scores)
The triggers don't seem to work in my latest map, even though they worked in an older version. Any ideas?
Hatecrest
Events
Player - Player 3 (Teal)'s Food used becomes Equal to 0.00
Conditions
(Count structures controlled by Player 3 (Teal) (Exclude incomplete structures)) Equal to 0
Actions
Wait 2.00 seconds
Game - Defeat Player 3 (Teal) with the message: The Hatecrest Naga ...
Quest - Display to (All players) the Warning message: WARNING: The Hatecr...
Set HatecrestDefeat = True
Trigger - Run Murfolk Victory <gen> (checking conditions)
Slitherblade
Events
Player - Player 4 (Purple)'s Food used becomes Equal to 0.00
Conditions
(Count structures controlled by Player 4 (Purple) (Exclude incomplete structures)) Equal to 0
Actions
Wait 2.00 seconds
Game - Defeat Player 4 (Purple) with the message: The Slitherblade Na...
Quest - Display to (All players) the Warning message: WARNING: The Slithe...
Set SlitherbladeDefeat = True
Trigger - Run Murfolk Victory <gen> (checking conditions)
Murloc Victory
Events
Conditions
(HatecrestDefeat Equal to True) and (SlitherbladeDefeat Equal to True)
Actions
Wait 5.00 seconds
Game - Victory Player 2 (Blue) (Show dialogs, Show scores)
The triggers don't seem to work in my latest map, even though they worked in an older version. Any ideas?