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

Does this leaks or not ?

Status
Not open for further replies.
Level 7
Joined
Nov 19, 2007
Messages
253
K i donwloaded "Leak Check" program and when i try to test my triggers it says that this leaks
  • Set HeroPickPlayerGroup = (Player group((Owner of (Entering unit))))
  • Custom script: call DestroyForce(udg_HeroPickPlayerGroup)
So does this leaks or not ?
 
Level 9
Joined
Sep 8, 2004
Messages
633
You could also use the "set bj_wantdestroygroup = true" using custom script, if you wish to prevent unit group leaks. Do mind that you should only use this one if you don't want to use the unit group more than once in a trigger.
 
Level 7
Joined
Nov 19, 2007
Messages
253
First of all this is Player Group not Unit Group. Second of all I was just asking if this leaks and if you cant read i make custom script to remove leak but im not sure if i am removing leak so thats why im asking.
 
Status
Not open for further replies.
Top