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

Question about leaks

Status
Not open for further replies.
Level 2
Joined
Sep 3, 2009
Messages
15
I have a question about leaks.
If you set a variable for something like

Set Group = (Units within 500 of (Position Of Picked Unit))

The (Position Of Picked Unit) will leak, but will it leak if i store it within a variable, and then destroy it? I was wondering because the variable is set as a GROUP, not a POINT.

Do i have to set (Position Of Picked Unit) into another variable and then do something like this?

Set Group = (Unit within 500 of (Point))
 
Status
Not open for further replies.
Top