Ncrackz
New Member
- Reaction score
- 2
This trigger always seems to make unlimited creeps, spawning over, and over again, i don't know what i did wrong
any help is appreciated
The Stopping!
any help is appreciated
Code:
Wave2
Events
Time - Every 0.45 seconds of game time
Conditions
Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Player 12 (Brown) Food used) Greater than or equal to 20
Then - Actions
Trigger - Turn on Wave2 stop <gen>
Trigger - Turn off (This trigger)
Else - Actions
Set Start_Creep = (Center of Spawn 1 <gen>)
Special Effect - Create a special effect at Start_Creep using Abilities\Spells\Undead\AnimateDead\AnimateDeadTarget.mdl
Unit - Create 1 02.Bigger Satyrs for Player 12 (Brown) at Start_Creep facing Default building facing degrees
Unit - Order (Last created unit) to Move To Move[2]
Wait 2.00 seconds
Custom script: call RemoveLocation (udg_Start_Creep)
Special Effect - Destroy (Last created special effect)
The Stopping!
Code:
Wave2 stop
Events
Time - Every 0.55 seconds of game time
Conditions
Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Player 12 (Brown) Food used) Equal to 0
Then - Actions
Trigger - Turn off (This trigger)
Countdown Timer - Start WaveStart as a One-shot timer that will expire in 15.00 seconds
Countdown Timer - Create a timer window for WaveStart with title Wave Start:
Countdown Timer - Show (Last created timer window)
Wait 15.00 seconds
Countdown Timer - Destroy (Last created timer window)
Trigger - Turn on Wave3 <gen>
Else - Actions