- Joined
- Apr 6, 2009
- Messages
- 10
Hi
I have made this spawntrigger for my map and it works fine. But I recently read about memory leaks that could cause ingame lag so I wounder
Dose this trigger leak?
Event
Time - Every 8.40 seconds of game time
Unit Group - Pick every unit in (Units of type Footman Factory) and do (If (((Picked unit) is alive) Equal to True) then do (Unit - Create 1 Footman for (Owner of (Picked unit)) at (Position of (Picked unit)) facing Default building facing degrees) else do (Do nothing))
I have made this spawntrigger for my map and it works fine. But I recently read about memory leaks that could cause ingame lag so I wounder
Dose this trigger leak?
Event
Time - Every 8.40 seconds of game time
Unit Group - Pick every unit in (Units of type Footman Factory) and do (If (((Picked unit) is alive) Equal to True) then do (Unit - Create 1 Footman for (Owner of (Picked unit)) at (Position of (Picked unit)) facing Default building facing degrees) else do (Do nothing))