HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Trigger Help

10-02-2003, 02:44 AM#1
Nok-tai
Im working on a TD style map and my spawning triggers arent working heres a text copy of them. I dont have much practice with triggers so its probably something stupid. Thx in advance.

Set Levels

Actions:

If (Level_Number Equal to 1) then do (Set Monster_type = Spider) else do (Do nothing)

If (Level_Number Equal to 2) then do (Set Monster_type = Satyr) else do (Do nothing)

If (Level_Number Equal to 3) then do (Set Monster_type = Skeletal Orc) else do (Do nothing)
Ect Ect

Spawn

Events:

Time - Next_level expires

Actions:

Countdown Timer - Pause Next_level

Unit - Create (20 x 1) Monster_type for Player 11 (Dark Green) at (Center of Spawn Left <gen>) facing Default building facing degrees

Unit - Create (20 x 1) Monster_type for Player 11 (Dark Green) at (Center of Spawn Right <gen>) facing Default building facing degrees
Levels

Events:

Player - Player 11 (Dark Green)'s Food used becomes Less than or equal to 0.00

Actions:
Set Level_Number = (Level_Number + 1)

If (Level_Number Equal to 1) then do (Countdown
Timer - Start Next_level as a One-shot timer that will expire in 30.00 seconds) else do (Countdown
Timer - Start Next_level as a One-shot timer that will expire in 15.00 seconds)

Trigger - Run Set Levels <gen> (checking conditions)
10-02-2003, 04:21 AM#2
Ligature
Can you tell me what happens when this runs?

As far as I can tell, this is supposed to start a timer when all of the Dark Green player's (food-using) units are dead, then set a unit-type based on how many times this has happened, then when the timer expires spawn a bunch of that type?
10-02-2003, 05:31 AM#3
Nok-tai
haha im a moron i just realized why its not working sorry ignore this post