- Joined
- Jan 21, 2009
- Messages
- 57
In my defence, I haven't made a map since 2007, so there's that.
But yea, I'm having another problem here (So many damn problems)
I'm making a TD, so I'm trying to set it up so I need only two triggers to spawn every wave up until wave 40, or whatever I wish to end at... and I'm having trouble with it showing the wave info every time a wave starts, anyone have any idea why it won't work? I'll post all three triggers...
But yea, I'm having another problem here (So many damn problems)
I'm making a TD, so I'm trying to set it up so I need only two triggers to spawn every wave up until wave 40, or whatever I wish to end at... and I'm having trouble with it showing the wave info every time a wave starts, anyone have any idea why it won't work? I'll post all three triggers...
-
Wave Messages
-

Events
-

Conditions
-

Actions
-


Game - Display to (All players) the text: (|cffffcc00Wave + ((String(level)) + |r))
-


Game - Display to (All players) the text: (|cff00FF00 + ((String(Enemies[level])) + |r))
-


Game - Display to (All players) the text: (EnemyAmountString[level] + per spawn)
-


Game - Display to (All players) the text: (|cff00FF00Health:|r + (String(EnemyHP[level])))
-


Game - Display to (All players) the text: EnemyArmor[level]
-


Game - Display to (All players) the text: EnemyAbilities[level]
-
-
-
Wave Start
-

Events
-


Time - StartTimer expires
-
-

Conditions
-

Actions
-


Set level = (level + 1)
-


Set temp_PG = (All players)
-


Trigger - Run Wave Messages <gen> (ignoring conditions)
-


Player Group - Pick every player in temp_PG and do (Actions)
-



Loop - Actions
-




Countdown Timer - Hide StartWindow for (Picked player)
-
-
-


Countdown Timer - Destroy StartWindow
-


Custom script: call DestroyTimer( udg_StartTimer )
-


Set spawn_point[1] = (Center of Red Spawn <gen>)
-


Set spawn_point[2] = (Center of Teal Spawn <gen>)
-


Set spawn_point[3] = (Center of Blue Spawn <gen>)
-


Set spawn_point[4] = (Center of Purple Spawn <gen>)
-


Set UnitCount = (Real(EnemyAmount[level]))
-


Unit - Create EnemyAmount[level] Enemies[level] for Player 9 (Gray) at spawn_point[1] facing 0.00 degrees
-


Unit - Create EnemyAmount[level] Enemies[level] for Player 10 (Light Blue) at spawn_point[2] facing 270.00 degrees
-


Unit - Create EnemyAmount[level] Enemies[level] for Player 11 (Dark Green) at spawn_point[3] facing 180.00 degrees
-


Unit - Create EnemyAmount[level] Enemies[level] for Player 12 (Brown) at spawn_point[4] facing 90.00 degrees
-


Custom script: call RemoveLocation(udg_spawn_point[1])
-


Custom script: call RemoveLocation(udg_spawn_point[2])
-


Custom script: call RemoveLocation(udg_spawn_point[3])
-


Custom script: call RemoveLocation(udg_spawn_point[4])
-


Wait 2.00 seconds
-


Custom script: call DestroyForce( udg_temp_PG )
-


Trigger - Turn off Start Timer <gen>
-


Trigger - Turn off (This trigger)
-


Trigger - Turn on Wave Continue <gen>
-
-
-
Wave Continue
-

Events
-


Time - Wave_Timer expires
-
-

Conditions
-

Actions
-


Set level = (level + 1)
-


Set temp_PG = (All players)
-


Trigger - Run Wave Messages <gen> (ignoring conditions)
-


Player Group - Pick every player in temp_PG and do (Actions)
-



Loop - Actions
-




Countdown Timer - Hide Wave_Timer_Window for (Picked player)
-
-
-


Countdown Timer - Destroy Wave_Timer_Window
-


Custom script: call DestroyTimer( udg_Wave_Timer )
-


Set spawn_point[1] = (Center of Red Spawn <gen>)
-


Set spawn_point[2] = (Center of Teal Spawn <gen>)
-


Set spawn_point[3] = (Center of Blue Spawn <gen>)
-


Set spawn_point[4] = (Center of Purple Spawn <gen>)
-


Set UnitCount = 60.00
-


Unit - Create EnemyAmount[level] Enemies[2] for Player 9 (Gray) at spawn_point[1] facing 0.00 degrees
-


Unit - Create EnemyAmount[level] Enemies[2] for Player 10 (Light Blue) at spawn_point[2] facing 0.00 degrees
-


Unit - Create EnemyAmount[level] Enemies[2] for Player 11 (Dark Green) at spawn_point[3] facing 0.00 degrees
-


Unit - Create EnemyAmount[level] Enemies[2] for Player 12 (Brown) at spawn_point[4] facing 0.00 degrees
-


Wait 0.55 seconds
-


Custom script: call RemoveLocation(udg_spawn_point[1])
-


Custom script: call RemoveLocation(udg_spawn_point[2])
-


Custom script: call RemoveLocation(udg_spawn_point[3])
-


Custom script: call RemoveLocation(udg_spawn_point[4])
-


Custom script: call DestroyForce( udg_temp_PG )
-
-