- Joined
- May 9, 2011
- Messages
- 228
guys theres a problem w/ the trigger can you figure it out what is the problem w/ this
when player 1 kills one creep the timers starts to make an error
- init
-
Events
- Time - Elapsed game time is 0.00 seconds
- Conditions
-
Actions
- Countdown Timer - Start timer as a One-shot timer that will expire in 20.00 seconds
- Countdown Timer - Create a timer window for (Last started timer) with title Prepare for Battle
- Trigger - Turn on periodic <gen>
- periodic
-
Events
- Time - Elapsed game time is 20.00 seconds
-
Conditions
- chk Equal to False
-
Actions
- Unit - Create 5 (Random level 2 creep unit-type) for Player 12 (Brown) at (Center of Region 000 <gen>) facing Default building facing degrees
- Unit Group - Add (Last created unit) to group
- timer
-
Events
- Time - timer expires
- Conditions
-
Actions
- Set chk = True
- Countdown Timer - Destroy (Last created timer window)
- unit dies
-
Events
- Unit - A unit Dies
- Conditions
-
Actions
- Unit Group - Remove (Triggering unit) from group
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- (group is empty) Equal to True
-
Then - Actions
- Set chk = False
- Countdown Timer - Start timer as a One-shot timer that will expire in 20.00 seconds
- Countdown Timer - Create a timer window for (Last started timer) with title spawns
- Else - Actions
-
If - Conditions
when player 1 kills one creep the timers starts to make an error