- Joined
- Mar 24, 2010
- Messages
- 950
Im pretty sure i already know this but I wanna double check some things about unit group variables.
If I add some units to a unit group and they die are they auto removed from that unit group? or do i need to remove them once they die?
Im pretty sure upon a unit replace event the replaced unit is auto removed from the unitgroup or so it seems..
Also does using a unit group in this way with adding and removing units cause leaks the same as making a temp unitgroup var based on certain conditions?
If I add some units to a unit group and they die are they auto removed from that unit group? or do i need to remove them once they die?
Im pretty sure upon a unit replace event the replaced unit is auto removed from the unitgroup or so it seems..
Also does using a unit group in this way with adding and removing units cause leaks the same as making a temp unitgroup var based on certain conditions?