- 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))
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))