Hey guys, I've looked up a bit about group leaks and one thing I couldn't really find was using 2 groups, one global and one Temp.
Event - Unit enters region
Action - Add unit to BaseGroup
Event - Unit casts Move Order
Action - TempGroup = units in BaseGroup
Pick units in TempGroup and do
Loop
Yada yada
(DestroyTempGroup)
Will the BaseGroup cause any leaks if I used it like this. (Units are removed from BaseGroup upon death).
Cheers
Event - Unit enters region
Action - Add unit to BaseGroup
Event - Unit casts Move Order
Action - TempGroup = units in BaseGroup
Pick units in TempGroup and do
Loop
Yada yada
(DestroyTempGroup)
Will the BaseGroup cause any leaks if I used it like this. (Units are removed from BaseGroup upon death).
Cheers