D
Dipski
Guest
im making a td and id like to know the best way to make 30 levels of creeps spawn using the least amount of triggers to reduce lag can anyone help me out? is there some sort of variable loop im missing? 
Event
A unit dies
Condition
(Unit type of (dying unit) is equal to *your unit*
Action
Wait - *your #* seconds
Create *your #* of *your unit* for Owner of (Dying Unit) at random point in
RespawnRegion1
NewRound
Events
Periodic Event every 1 second
Conditions
----
Actions
if (count units of RoundUnit[round] in (playable map area)) equal to 0 <----something like this. I'm not sure exactly what you put here because I haven't been to WE recently.
round = round + 1
Run RespawnUnits (a trigger that has the timers and then spawns RoundUnit[round] where round is now round+1 because all of the units from the previous round have died)
events- a unit begins casting an ability
conditions-ability being cas equal to sell
actions-unit-remove triggering unit from gam
player(add point value of (triggering unit)) to (owner of (triggering unit)) current gold