How do I make a trigger that triggers when there are no flying units in a certain region?
I have tried this trigger:
I have tried this trigger:
-
Viking Transform
-
Events
-
Unit - Any Unit dies
-
-
Local Variables
-
Viking Group = (Empty unit group) <Unit Group>
-
Total Units = (Empty unit group) <Unit Group>
-
-
Conditions
-
Actions
-
Variable - Set Viking Group = (Viking (Fighter Mode) units in (Entire map) owned by player Any Player matching Excluded: Missile, Dead, Hidden, with at most Any Amount)
-
Variable - Set Total Units = (Any units in (Entire map) owned by player Any Player matching Excluded: Missile, Dead, Hidden, with at most Any Amount)
-
Unit Group - Remove all units in Viking Group from Total Units
-
General - If (Conditions) then do (Actions) else do (Actions)
-
If
-
Total Units == (Any units in (Entire map) owned by player Any Player matching Required: Ground; Excluded: Missile, Dead, Hidden, with at most Any Amount)
-
-
Then
-
Unit - Order all units in Viking Group to (Viking - Assault Mode) (Replace Existing Orders)
-
-
Else
-
UI - Display "dddddddddd" for (All players) to Subtitle area
-
-
-
-
Last edited: