Difference between revisions of "DCS func getGroups"
From DCS World Wiki - Hoggitworld.com
m (1 revision imported) |
|||
(2 intermediate revisions by 2 users not shown) | |||
Line 13: | Line 13: | ||
|par4= | |par4= | ||
− | |desc= Returns a table of [[DCS_Class_Group|group objects]] belonging to the specified coalition. If the groupCategory enumerator is provided the table will only contain groups that belong to the specified category. If this optional variable is not provided, all group types will be returned. | + | |desc= Returns a table of [[DCS_Class_Group|group objects]] belonging to the specified coalition. If the groupCategory enumerator is provided the table will only contain groups that belong to the specified category. If this optional variable is not provided, all group types will be returned. See [[DCS_Class_Group|here]] for the list of possible group categories. |
+ | |||
+ | Group.Category = { | ||
+ | AIRPLANE = 0 | ||
+ | HELICOPTER = 1 | ||
+ | GROUND = 2 | ||
+ | SHIP = 3 | ||
+ | TRAIN = 4 | ||
+ | } | ||
|rtnType= table | |rtnType= table | ||
Line 52: | Line 60: | ||
}} | }} | ||
[[Category:Singleton Functions|getGroups]] | [[Category:Singleton Functions|getGroups]] | ||
+ | [[Category:Game Patch 1.2.4|getGroups]] |