HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Make these triggers pause and unpoase and ill love you forever

12-24-2003, 08:56 PM#1
teamdan
I can't figure this out for the life of me!

what happens is whenever a countdown timer stops, a wave spawns.. but then immediately, another timer starts! i want it to stop when the wave is out, but then start up when the wave is dead. Help!! emote_sweat


Start Spawn
Events
Time - Next_Wave expires
Conditions
Defeat Equal to False
Actions
Countdown Timer - Pause Next_Wave
Countdown Timer - Destroy (Last created timer window)
Trigger - Turn on Next Wave <gen>
Trigger - Run Next Wave <gen> (ignoring conditions)
Unit - Create Monster_Amount Monster_Type for Player 11 (Dark Green) at (Center of Arena <gen>) facing Default building facing degrees
Game - Display to (All players) the text: ((Level + (String(Wave_Number))) + ( - + ((Name of (Last created unit)) + s)))




Next Wave (intially off)
Events
Player - Player 11 (Dark Green)'s Food used becomes Equal to 0.00
Conditions
Defeat Equal to False
Actions
Trigger - Turn off (This trigger)
-------- Set Next Level --------
Set Wave_Number = (Wave_Number + 1)
Trigger - Run Set Level <gen> (ignoring conditions)
-------- Timer --------
If (Wave_Number Equal to 1) then do (Countdown Timer - Start Next_Wave as a One-shot timer that will expire in 30.00 seconds) else do (Countdown Timer - Start Next_Wave as a One-shot timer that will expire in 30.00 seconds)
If (Wave_Number Equal to 1) then do (Countdown Timer - Create a timer window for (Last started timer) with title Next Wave In: ) else do (Countdown Timer - Create a timer window for (Last started timer) with title Next Wave In: )
Trigger - Run Update_Title (ignoring conditions)
Unit - Create 1 Class Chooser (Male) for (Matching player) at (Center of Classes <gen>) facing Default building facing degrees





So what's wrong?? emote_confused
12-24-2003, 09:48 PM#2
Hunter0000
You ran the next wave trigger before the monsters were spawned, and have no need to run it. "Trigger - Run Next Wave <gen> (ignoring conditions)" should be deleted and "Trigger - Turn on Next Wave <gen>
" should be moved AFTER the units spawn. also, next wave should have a "turn off thsi trigger" at the end of it.