- Joined
- Jul 23, 2005
- Messages
- 329
Let's say I have two group variables,
Now I'll set one of them to a new group. add some units, then set Group B to Group A...
OK: What will happen if I edit group B? Will GroupA Also be affected (As they would if they were C pointers?)?
JASS:
local group GroupA
local group GroupB
JASS:
set GroupA = CreateGroup()
call GroupAddUnit(GroupA,Whatever)
//---snip---
set GroupB = GroupA
OK: What will happen if I edit group B? Will GroupA Also be affected (As they would if they were C pointers?)?