Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
WavesSpawner

Events


Time - Elapsed game time is 30.00 seconds

Conditions

Actions


For each (Integer A) from 1 to 30, do (Actions)



Loop - Actions




Set TempPoint01 = (Random point in Spawn01 <gen>)




Set TempPoint02 = (Random point in Spawn02 <gen>)




Set TempPoint03 = (Random point in Spawn03 <gen>)




Set TempPoint04 = (Random point in Spawn04 <gen>)




Set TempPoint05 = (Random point in Spawn05 <gen>)




Set TempPoint06 = (Random point in Spawn06 <gen>)




Unit - Create CreepsBorn UnitType for Player 12 (Brown) at TempPoint01 facing Default building facing degrees




Unit - Create CreepsBorn UnitType for Player 12 (Brown) at TempPoint02 facing Default building facing degrees




Unit - Create CreepsBorn UnitType for Player 12 (Brown) at TempPoint03 facing Default building facing degrees




Unit - Create CreepsBorn UnitType for Player 12 (Brown) at TempPoint04 facing Default building facing degrees




Unit - Create CreepsBorn UnitType for Player 12 (Brown) at TempPoint05 facing Default building facing degrees




Unit - Create CreepsBorn UnitType for Player 12 (Brown) at TempPoint06 facing Default building facing degrees




Set CreepsAlive = (CreepsAlive + 6)




Custom script: call RemoveLocation (udg_TempPoint01)




Custom script: call RemoveLocation (udg_TempPoint02)




Custom script: call RemoveLocation (udg_TempPoint03)




Custom script: call RemoveLocation (udg_TempPoint04)




Custom script: call RemoveLocation (udg_TempPoint05)




Custom script: call RemoveLocation (udg_TempPoint06)




Leaderboard - Change the value for Player 12 (Brown) in Leaderboard to CreepsAlive




Wait 1.00 seconds
WavesChangeUnit

Events


Time - Elapsed game time is 29.00 seconds

Conditions

Actions


Set UnitType = Peon 1


Trigger - Run WavesSpawner <gen> (ignoring conditions)


Wait CreepsReload seconds


Set UnitType = Footman 2


Trigger - Run WavesSpawner <gen> (ignoring conditions)


Wait CreepsReload seconds


Set UnitType = Satyr Trickster 3


Trigger - Run WavesSpawner <gen> (ignoring conditions)


Wait CreepsReload seconds


Set UnitType = Crypt Fiend 4


Trigger - Run WavesSpawner <gen> (ignoring conditions)


Wait CreepsReload seconds


Set UnitType = Dire Wolf 5


Trigger - Run WavesSpawner <gen> (ignoring conditions)


Wait CreepsReload seconds


Set UnitType = Dryad 6


Trigger - Run WavesSpawner <gen> (ignoring conditions)


Wait CreepsReload seconds


Set UnitType = Grunt 7


Trigger - Run WavesSpawner <gen> (ignoring conditions)


Wait CreepsReload seconds


Set UnitType = Hippogryph Rider 8


Trigger - Run WavesSpawner <gen> (ignoring conditions)


Wait CreepsReload seconds


Set UnitType = Knight 9


Trigger - Run WavesSpawner <gen> (ignoring conditions)


Wait CreepsReload seconds


Set UnitType = Razormane Brute 10


Trigger - Run WavesSpawner <gen> (ignoring conditions)


Wait CreepsReload seconds


Set UnitType = Assassin 11


Trigger - Run WavesSpawner <gen> (ignoring conditions)


Wait CreepsReload seconds


Set UnitType = Huntress 12


Trigger - Run WavesSpawner <gen> (ignoring conditions)


Wait CreepsReload seconds


Set UnitType = Battle Golem 13


Trigger - Run WavesSpawner <gen> (ignoring conditions)


Wait CreepsReload seconds


Set UnitType = Tauren 14


Trigger - Run WavesSpawner <gen> (ignoring conditions)


Wait CreepsReload seconds


Set UnitType = Dragonhawk Rider 15


Trigger - Run WavesSpawner <gen> (ignoring conditions)


Wait CreepsReload seconds


Set UnitType = Giant Spider 16


Trigger - Run WavesSpawner <gen> (ignoring conditions)


Wait CreepsReload seconds


Set UnitType = Abomination 17


Trigger - Run WavesSpawner <gen> (ignoring conditions)


Wait CreepsReload seconds


Set UnitType = Ogre Mauler 18


Trigger - Run WavesSpawner <gen> (ignoring conditions)


Wait CreepsReload seconds


Set UnitType = Queen of Suffering 19


Trigger - Run WavesSpawner <gen> (ignoring conditions)


Wait CreepsReload seconds


Set UnitType = Mountain Giant 20


Trigger - Run WavesSpawner <gen> (ignoring conditions)


Wait CreepsReload seconds


Set UnitType = Kodo Beast 21


Trigger - Run WavesSpawner <gen> (ignoring conditions)


Wait CreepsReload seconds


Set UnitType = Harpy Queen 22


Trigger - Run WavesSpawner <gen> (ignoring conditions)


Wait CreepsReload seconds


Set UnitType = Unbroken Rager 23


Trigger - Run WavesSpawner <gen> (ignoring conditions)


Wait CreepsReload seconds


Set UnitType = Bad Guy 24


Trigger - Run WavesSpawner <gen> (ignoring conditions)


Wait CreepsReload seconds


Set UnitType = Bandit 25


Trigger - Run WavesSpawner <gen> (ignoring conditions)


Wait CreepsReload seconds


Set UnitType = Arachnathid 26


Trigger - Run WavesSpawner <gen> (ignoring conditions)


Wait CreepsReload seconds


Set UnitType = Elder Wendigo 27


Trigger - Run WavesSpawner <gen> (ignoring conditions)


Wait CreepsReload seconds


Set UnitType = Gargantuan Sea Turtle 28


Trigger - Run WavesSpawner <gen> (ignoring conditions)


Wait CreepsReload seconds


Set UnitType = Red Drake 29


Trigger - Run WavesSpawner <gen> (ignoring conditions)


Wait CreepsReload seconds


Set UnitType = Troll Berserker 30


Trigger - Run WavesSpawner <gen> (ignoring conditions)


Custom script: call DestroyTrigger( GetTriggeringTrigger() )
WavesMessages

Events


Time - Elapsed game time is 15.00 seconds

Conditions

Actions


Quest - Display to (All players) the Warning message: Wave 1 of 30 [|cff3...


Wait MessagesTime seconds


Quest - Display to (All players) the Warning message: Wave 2 of 30 [|cff3...


Wait MessagesTime seconds


Quest - Display to (All players) the Warning message: Wave 3 of 30 [|cff3...


Wait MessagesTime seconds


Quest - Display to (All players) the Warning message: Wave 4 of 30 [|cff3...


Wait MessagesTime seconds


Quest - Display to (All players) the Warning message: Wave 5 of 30 [|cff0...


Wait MessagesTime seconds


Quest - Display to (All players) the Warning message: Wave 6 of 30 [|cff3...


Wait MessagesTime seconds


Quest - Display to (All players) the Warning message: Wave 7 of 30 [|cff3...


Wait MessagesTime seconds


Quest - Display to (All players) the Warning message: Wave 8 of 30 [|cfff...


Wait MessagesTime seconds


Quest - Display to (All players) the Warning message: Wave 9 of 30 [|cff3...


Wait MessagesTime seconds


Quest - Display to (All players) the Warning message: Wave 10 of 30 [|cff...


Wait MessagesTime seconds


Quest - Display to (All players) the Warning message: Wave 11 of 30 [|cff...


Wait MessagesTime seconds


Quest - Display to (All players) the Warning message: Wave 12 of 30 [|cff...


Wait MessagesTime seconds


Quest - Display to (All players) the Warning message: Wave 13 of 30 [|cff...


Wait MessagesTime seconds


Quest - Display to (All players) the Warning message: Wave 14 of 30 [|cff...


Wait MessagesTime seconds


Quest - Display to (All players) the Warning message: Wave 15 of 30 [|cff...


Wait MessagesTime seconds


Quest - Display to (All players) the Warning message: Wave 16 of 30 [|cff...


Wait MessagesTime seconds


Quest - Display to (All players) the Warning message: Wave 17 of 30 [|cff...


Wait MessagesTime seconds


Quest - Display to (All players) the Warning message: Wave 18 of 30 [|cff...


Wait MessagesTime seconds


Quest - Display to (All players) the Warning message: Wave 19 of 30 |cff9...


Wait MessagesTime seconds


Quest - Display to (All players) the Warning message: Wave 20 of 30 [|cff...


Wait MessagesTime seconds


Quest - Display to (All players) the Warning message: Wave 21 of 30 [|cff...


Wait MessagesTime seconds


Quest - Display to (All players) the Warning message: Wave 22 of 30 [|cff...


Wait MessagesTime seconds


Quest - Display to (All players) the Warning message: Wave 23 of 30 [|cff...


Wait MessagesTime seconds


Quest - Display to (All players) the Warning message: Wave 24 of 30 [|cff...


Wait MessagesTime seconds


Quest - Display to (All players) the Warning message: Wave 25 of 30 [|cff...


Wait MessagesTime seconds


Quest - Display to (All players) the Warning message: Wave 26 of 30 |cff9...


Wait MessagesTime seconds


Quest - Display to (All players) the Warning message: Wave 27 of 30 [|cff...


Wait MessagesTime seconds


Quest - Display to (All players) the Warning message: Wave 28 of 30 [|cff...


Wait MessagesTime seconds


Quest - Display to (All players) the Warning message: Wave 29 of 30 [|cff...


Wait MessagesTime seconds


Quest - Display to (All players) the Warning message: Wave 30 of 30 [|cff...


Custom script: call DestroyTrigger( GetTriggeringTrigger() )
Except that action leaks a handle pointer.Waits should be "Wait (...) seconds of gametime" if you do not want to use timers.
At least it fixes the problem of paused game...Except that action leaks a handle pointer.
(0.o)I've solved my problem!! I've just figured out that I didn't changed the 'wait' action to 'wait (game-time)' for the wave messages trigger, I did that and now the map doesn't lags when even 200 units are spawned!!)
Thank you all for helping me!!
Actually, it was a trigger... I deleted it now![]()
