• Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.

Unit Groups

Status
Not open for further replies.
Level 17
Joined
Jan 21, 2010
Messages
2,111
Sorry, i mean, when the unit is no longer needed (in this case dummy unit) add expiration timer, then create new trigger
Event
A unit dies
Condition
Unit type of triggering unit is equal to your dummy unit type
Action
Hide triggering unit

This should prevent leak of removal unit
If you still doesn't belive it, then try this
Create a trigger that spawns 1 footman every 0.5s
Then create another trigger that remove every unit that enters the playable map area (use variable to prevent location leak)
Try it, after some time, your game will lagg, like a hell
:)
 
Status
Not open for further replies.
Top