groupName setGroupId [nameFomat, nameParam1, ...]

Operand types

groupName: Object or Group
[nameFomat, nameParam1, ...]: Array

Type of returned value

Description

Sets the group identity.

nameFormat contains strings "%CLASS_NAME" where CLASS_NAME is the name of the class in CfgWorlds.

nameParams are names of subclasses of CLASS_NAME with the description of the name subpart.

For OFP:
Format is [letter, color, picture] or [letter, color].

Letter is one of:
"Alpha"
"Bravo"
"Charlie"
"Delta"
"Echo"
"Foxtrot"
"Golf"
"Hotel"
"Kilo"

Colour can be one of "GroupColor0" to "GroupColor7".

Used In

OFP/ArmA

Example

group1 setGroupId ["Delta","GroupColor4"]
Search OFPEC COMREF