• 🏆 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!

[Trigger] oes this leaks ?

Status
Not open for further replies.
Level 11
Joined
Jul 28, 2007
Messages
920
Store Unit
Events
Unit - A unit enters (Playable map area)
Conditions
((Triggering unit) is A Hero) Equal to True
Actions
Trigger - Add to Combat Detection damage <gen> the event (Unit - (Triggering unit) Takes damage)


Its used for damage detection.
 
Level 21
Joined
Aug 21, 2005
Messages
3,699
Every damage detection system leaks events. It's as simple as that. There's no way around it and a leak only occurs once per unit you add to the map, so it's not a really "bad" leak unless the map is going to last for hours and hours and lots of units are continuously added.
 
Level 11
Joined
Jul 28, 2007
Messages
920
Ok, i'm using damage detection for units that are invurnable to do damage to them, so i can remove armor inferface, units do not have armor icon or description, but those units are confinuosly spawned... so the map will start to lagg, seems like i need to find another way... to kill invurnable unit...
 
Status
Not open for further replies.
Top