Hello guys, how do i make a trigger like this only being able to create 1 unit every 5 seconds. At this point the number on every "random integer number" could be less than 60, which would create 3 units. Which is something that i dont want too happen.
-
Draenei Spawn
-

Events
-


Time - Every 5.00 seconds of game time
-
-

Conditions
-

Actions
-


If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-



If - Conditions
-




(Random integer number between 1 and 100) Less than or equal to 80
-
-



Then - Actions
-




Unit - Create 1 Draenei Warrior (1) for Player 7 (Green) at (Center of Draenei Spawn <gen>) facing Default building facing degrees
-
-



Else - Actions
-
-


If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-



If - Conditions
-




(Random integer number between 1 and 100) Less than or equal to 70
-
-



Then - Actions
-




Unit - Create 1 Draenei Disciple (2) for Player 7 (Green) at (Center of Draenei Spawn <gen>) facing Default building facing degrees
-
-



Else - Actions
-
-


If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-



If - Conditions
-




(Random integer number between 1 and 100) Less than or equal to 60
-
-



Then - Actions
-




Unit - Create 1 Draenei Fighter (3) for Player 7 (Green) at (Center of Draenei Spawn <gen>) facing Default building facing degrees
-
-



Else - Actions
-
-
-




