HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

number of the unit group

11-22-2007, 04:34 PM#1
Troll-Brain
is there a way to know the number(s) of the group for an unit ( Ctrl+X) ?
11-22-2007, 09:49 PM#2
MaD[Lion]
i dont think there is, since that is local. and jass is not local. so dont think u can retrieve that number into a variable or anything
11-26-2007, 05:25 PM#3
Troll-Brain
maybe with a custom native ?
11-27-2007, 07:38 AM#4
Deaod
constant native IsUnitInGroup takes unit whichUnit, group whichGroup returns boolean
maybe work with that native.
11-27-2007, 08:19 AM#5
zen87
unless you create a grouping system in your map and check every single group you created/used in the map with the unit and return them to an integer... I cant think of any other way...