• 🏆 Texturing Contest #33 is OPEN! Contestants must re-texture a SD unit model found in-game (Warcraft 3 Classic), recreating the unit into a peaceful NPC version. 🔗Click here to enter!

[JASS] Group = Group == Copy or pointer...

Status
Not open for further replies.
Level 8
Joined
Jul 23, 2005
Messages
329
Let's say I have two group variables,
JASS:
local group GroupA
local group GroupB
Now I'll set one of them to a new group. add some units, then set Group B to Group A...
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?)?
 
Status
Not open for further replies.
Top