• 🏆 Texturing Contest #33 is OPEN! Contestants must re-texture a SD unit model found in-game (Warcraft 3 Classic), recreating the unit into a peaceful NPC version. 🔗Click here to enter!
  • It's time for the first HD Modeling Contest of 2024. Join the theme discussion for Hive's HD Modeling Contest #6! Click here to post your idea!

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