groupId
Jump to navigation
Jump to search
Description
- Description:
- Returns a group's name or a unit's group ID number.
- Groups:
- Groups
Syntax
- Syntax:
- groupId group
- Parameters:
- group: Group
- Return Value:
- String - the group's name (e.g "Alpha Red")
Alternative Syntax
- Syntax:
- groupId unit
- Parameters:
- unit: Object - a group's unit
- Return Value:
- Number - the unit's group ID (e.g "2, taking command")
Examples
- Example 1:
- Example 2:
Additional Information
- See also:
- setGroupId setGroupIdGlobal group
Notes
-
Report bugs on the Feedback Tracker and/or discuss them on the Arma Discord or on the Forums.
Only post proven facts here! Add Note