Well im making a survival map and for that i need to create much units in waves kinda that:
>>>
<<<
And i have many of this functions.
So what i want to know is if this causes memory leaks and if yes can i fix it whith following function??? :
need help because after a while the game starts lagging more and more....
>>>
Code:
Unit - Create 5 Soldat for Player 1 (Red) at (Center of (Playable map area)) facing Default building facing (270.0) degrees
And i have many of this functions.
So what i want to know is if this causes memory leaks and if yes can i fix it whith following function??? :
Code:
EVENT: Unit - A unit Decays
ACTIONS: Wait 5.00 seconds
unit - remove (decaying unit) from the game
need help because after a while the game starts lagging more and more....