May i know what's wrong with my spawn trigger? My creeps doesn't spawn.
SPAWNS
TIMER
RED SPAWN MONSTERS
VARIABLE
SPAWNS
Trigger:
- Time - Elapsed game time is 5.00 seconds
- Set Level = (Level + 1)
- Set Creeptype = (Creeptype + 1)
- If (All Conditions are True) then do (Then Actions) else do (Else Actions)
- If - Conditions
- Level Equal to 26
- Then - Actions
- Wait 2.00 seconds
- Trigger - Turn on Victory Cinematic <gen>
- Else - Actions
- Countdown Timer - Create a timer window for timer with title ((Wave + ((String(Level))
- Countdown Timer - Start timer as a One-shot timer that will expire in 10.00 seconds
- Set timerwindow = (Last created timer window)
- Countdown Timer - Show timerwindow
- If - Conditions
TIMER
Trigger:
- Time - timer expires
- Countdown Timer - Destroy timerwindow
- If (All Conditions are True) then do (Then Actions) else do (Else Actions)
- If - Conditions
- (Player 1 (Red) slot status) Equal to Is playing
- Then - Actions
- For each (Integer A) from 1 to 20, do (Actions)
- Loop - Actions
- Trigger - Turn on Red Spawn Monsters <gen>
- Loop - Actions
- For each (Integer A) from 1 to 20, do (Actions)
- Else - Actions
- If - Conditions
RED SPAWN MONSTERS
Trigger:
- Unit - Create 1 EnemyType[Creeptype] for Player 9 (Gray) at (Random point in Red00 <gen>) facing (Position of (Triggering unit))
VARIABLE
Trigger:
- Map initialization
- Set EnemyType[1] = Chicken
- Set EnemyType[2] = Frog