so, your creating a unit at a point, destroying the location, and removing the unit, every 5 seconts?
if this is correct, then there will be no leak or lag (as far as i know. which is farther then you can throw me.) now, doing it with 50 units every 5 seconts may cause lag. (depends on your computer specs)
just remember: destroy:
- unit groups (group)
- points (location)
- player groups (force)
(theres more, but these are the most commonly used / leaked) and you should be fine. (once you get better at triggering, then you should get better at controling memory leaks.) |