HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

NewGroup and ReleaseGroup question

07-10-2008, 11:21 AM#1
the-thingy
When using NewGroup and ReleaseGroup from CSSafety, do I use it like I would normally use CreateGroup/DestroyGroup i.e.
Collapse JASS:
local group g = CreateGroup ()
call GroupEnumUnitsInRange (...)
call DestroyGroup (g)

//would become

local group g = NewGroup ()
call GroupEnumUnitsInRange (...)
call ReleaseGroup (g)

//right?
07-10-2008, 11:35 AM#2
chobibo
Yes right.
07-10-2008, 11:44 AM#3
the-thingy
OK, thanks for that :)