- Joined
- Nov 3, 2013
- Messages
- 989
-
Untitled Trigger 001
-

Events
-


Time - Timer_BarrackSpawn[1] expires
-


Time - Timer_BarrackSpawn[2] expires
-


Time - Timer_BarrackSpawn[3] expires
-


Time - Timer_BarrackSpawn[4] expires
-


Time - Timer_BarrackSpawn[5] expires
-


Time - Timer_BarrackSpawn[6] expires
-


Time - Timer_BarrackSpawn[7] expires
-


Time - Timer_BarrackSpawn[8] expires
-


Time - Timer_BarrackSpawn[9] expires
-


Time - Timer_BarrackSpawn[10] expires
-


Time - Timer_BarrackSpawn[11] expires
-


Time - Timer_BarrackSpawn[12] expires
-
-

Conditions
-

Actions
-


For each (Integer Temp_Int[40]) from 1 to 12, do (Actions)
-



Loop - Actions
-




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





If - Conditions
-






(Elapsed time for Timer_BarrackSpawn[Temp_Int[40]]) Equal to (Real(Int_BarrackSpawnTime[(Integer A)]))
-
-





Then - Actions
-






Game - Display to (All players) the text: (Barrack Timer[ + ((String(Temp_Int[40])) + ]))
-






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







If - Conditions
-








(Number of units in (Units in CenterOfMapVision <gen>)) Less than 100
-
-







Then - Actions
-








Unit - Create 1 Footman for Player 1 (Red) at (Center of (Playable map area)) facing Default building facing degrees
-
-







Else - Actions
-
-






Countdown Timer - Start Timer_BarrackSpawn[Temp_Int[40]] as a One-shot timer that will expire in (Real(Int_BarrackSpawnTime[(Integer A)])) seconds
-
-





Else - Actions
-
-
-
-
-
Also I did not find a function for expiering timer, which would have been better.
Thanks to Deathismyfriend it's now working, the use of integer A was at fault. + rep
Last edited:




