• 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.

[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