GroupMakeTemporary
not ratedWhen used, the function makes sure that the group is destroyed immediately after the calling thread has finished, or when it executes a TriggerSleepAction (or PolledWait), whichever comes first.
This function is designed to make things easier for whoever wishes to get rid of memory leaks. When you don't want to keep all your temporary groups in variables for later removal, use this function.
Example:
call SelectGroupForPlayerBJ(GroupMakeTemporary(GetUnitsInRectAll(gg_rct_my_rect)), Player(0))
This function is designed to make things easier for whoever wishes to get rid of memory leaks. When you don't want to keep all your temporary groups in variables for later removal, use this function.
Example:
call SelectGroupForPlayerBJ(GroupMakeTemporary(GetUnitsInRectAll(gg_rct_my_rect)), Player(0))