Warning: file_put_contents(/ff_275c59832ee12e37caefd36d742acb249ec5457aac0ad24d.php): failed to open stream: Permission denied in /home/ofpecsav/public_html/forum/Sources/Subs-ForumFirewall.php on line 1619
setGroupId - OFPEC Scripting Command Reference | OFPEC The Editing Center

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"]

Advertisement