I'm pretty sure you can't use "...Order (Last Created Unit Group)..." action ?My first attempt at making a leakless trigger; tell me if I did it right, please.
Wave Spawn
Events
Time - Every x seconds of game time
Conditions
Conditions
Actions
Set Spawn_Area = (Where you want the units to spawn)
Set Attack_Move_Loc = (Where you want the units to attack move)
Unit - Create units... at Spawn_Area
Custom script - call RemoveLocation(udg_Spawn_Area)
-------- If you created 1 unit of that type --------
Unit - Order (Last Created Unit) to Attack-Move to Attack_Move_Loc
Custom script - call RemoveLocation(udg_Attack_Move_Loc)
-------- If you created more than 1 unit of that type --------
Custom script - set bj_wantDestroyGroup = true
Unit Group - Order (Last Created Unit Group) to do Unit - Attack-Move to Attack_Move_Loc
Custom script - call RemoveLocation(udg_Attack_Move_Loc)
I don't think it's leakless; though.
The Region triggers are leaking; I know that.
He only asked for the Wave Spawning.
no XD. I'm pretty new at making maps