carbonduck
New Member
- Reaction score
- 4
Simple question: When I set TempUnitGroup = SomeOtherUnitGroup and when I set TempPlayerForce = SomeOtherPlayerForce, does it make a copy of the Unit/Player Group or does the Temp variable just point to the same group as the original variable does?
In other words, if I set a temp group = an already existing group, if I make changes to one, will it affect the other variable as well? (In programming terms, I'm asking whether or not the temp variable acts as a pointer).
In other words, if I set a temp group = an already existing group, if I make changes to one, will it affect the other variable as well? (In programming terms, I'm asking whether or not the temp variable acts as a pointer).