KvickaN
TH.net Regular
- Reaction score
- 24
Spawns the first level perfectly but not the second... I think it has something to do with player 12 brown's food... But I can't see whats the problem :S
+rep to helpers
Code:
SetLevels
Events
Map initialization
Conditions
Actions
Set CreepLevels[1] = Stag Level [1]
Set SpawnLevels[1] = 10
Set CreepLevels[2] = Stag Level [2]
Set SpawnLevels[2] = 10
Code:
WavesStart
Events
Time - AttackTimer expires
Conditions
Actions
Set LVL = (LVL + 1)
For each (Integer A) from 1 to SpawnLevels[LVL], do (Actions)
Loop - Actions
Unit - Create 1 CreepLevels[LVL] for Player 12 (Brown) at (Center of Red Start <gen>) facing Default building facing degrees
Game - Display to (All players) for 5.00 seconds the text: (Name of (Last created unit))
Wait 0.70 seconds
Unit - Create 1 CreepLevels[LVL] for Player 12 (Brown) at (Center of Blue Start <gen>) facing Default building facing degrees
Wait 0.70 seconds
Unit - Create 1 CreepLevels[LVL] for Player 12 (Brown) at (Center of Teal Start <gen>) facing Default building facing degrees
Wait 0.70 seconds
Unit - Create 1 CreepLevels[LVL] for Player 12 (Brown) at (Center of Purple Start <gen>) facing Default building facing degrees
Code:
Countdown to dummy attack
Events
Time - Elapsed game time is 5.00 seconds
Player - Player 12 (Brown)'s Food used becomes Equal to 0.00
Conditions
Actions
Countdown Timer - Create a timer window for AttackTimer with title Next level in...
Countdown Timer - Show AttackTimerWindow
Countdown Timer - Start AttackTimer as a One-shot timer that will expire in 30.00 seconds
Wait 30.00 seconds
Countdown Timer - Hide AttackTimerWindow
Countdown Timer - Destroy AttackTimerWindow
Code:
Set Countdown
Events
Time - Every 0.02 seconds of game time
Conditions
Actions
Set AttackTimerWindow = (Last created timer window)
+rep to helpers