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

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