Basicly I want the boss mechanics to reset when all the player units is wiped out from a region. This is the trigger I made but it doesn't seem to work:
The Queen is a unit that will slowly move after the player units, and the ArachWorker/Warrior are units that tries to slow the player units. So if the units die I want the adds to vanish, their triggers reset, and the Queen to teleport back to her original place.
-
Events
- Time - Every 1.00 seconds of game time
-
Conditions
- (SPIDER CAVE WIPE <gen> contains (Position of (Random unit from SpiderCavePlayer))) Equal to False
-
Actions
- -------- TRIGGERS --------
- Trigger - Turn on Second Wave <gen>
- Trigger - Turn on Queen Engage <gen>
- Trigger - Turn off Spider Event Small Adds <gen>
- -------- UNITS --------
- Unit - Remove ArachWarrior from the game
- Unit - Remove ArachWorker from the game
- Unit - Order The Queen 0067 <gen> to Stop
- Unit - Move The Queen 0067 <gen> instantly to (Center of SPIDER QUEEN <gen>), facing 140.00 degrees
- Game - Display to (All players) for 30.00 seconds the text: TRIGGER LOADED
The Queen is a unit that will slowly move after the player units, and the ArachWorker/Warrior are units that tries to slow the player units. So if the units die I want the adds to vanish, their triggers reset, and the Queen to teleport back to her original place.