Hey guys I've just made a trigger to turn off another trigger once the number of a type of unit has reached 30.
This is the trigger i wanna turn off
This is the trigger i wanna turn off
-
Orc militia spawn
-
Events
- Unit - A unit enters Attack region 2 <gen>
-
Conditions
- (Owner of (Triggering unit)) Equal to Player 1 (Red)
-
Actions
- Unit - Create 5 Orc Militia for Player 2 (Blue) at (Random point in Attack region 2 <gen>) facing Default building facing degrees
- Unit - Create 5 Orc Militia for Player 2 (Blue) at (Random point in Attack region 2 <gen>) facing Default building facing degrees
- Unit - Create 5 Orc Militia for Player 2 (Blue) at (Random point in Attack region 2 <gen>) facing Default building facing degrees
- Unit - Create 5 Orc Militia for Player 2 (Blue) at (Random point in Attack region 2 <gen>) facing Default building facing degrees
- Unit - Create 5 Orc Militia for Player 2 (Blue) at (Random point in Attack region 2 <gen>) facing Default building facing degrees
- Unit - Create 5 Orc Militia for Player 2 (Blue) at (Random point in Attack region 2 <gen>) facing Default building facing degrees
-
Events
-
Orc turn off
- Events
-
Conditions
- (Number of units in (Units of type Orc Militia)) Equal to 30
-
Actions
- Trigger - Turn off Orc militia spawn <gen>