Prozix
New Member
- Reaction score
- 7
that is correct. The variable in your function is also a copy, not of the group but of the group handle.
If you assign the handle of g1 to g2 for example they will both point to the same memory.
What you have to do is create a second group (g2 = CreateGroup()) and add every unit from g1 to g2.
This method is quite ineffective however
If you assign the handle of g1 to g2 for example they will both point to the same memory.
What you have to do is create a second group (g2 = CreateGroup()) and add every unit from g1 to g2.
This method is quite ineffective however