• 🏆 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!
  • 🏆 Hive's 6th HD Modeling Contest: Mechanical is now open! Design and model a mechanical creature, mechanized animal, a futuristic robotic being, or anything else your imagination can tinker with! 📅 Submissions close on June 30, 2024. Don't miss this opportunity to let your creativity shine! Enter now and show us your mechanical masterpiece! 🔗 Click here to enter!

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