groupName setGroupId [nameFormat, nameParam1, ..., nameParamN]
Operand types
groupName:
Group[nameFormat, nameParam1, ..., nameParamN]:
Array
Type of returned value
Description
Sets a group's identity, how it will be displayed in chat, for example.
The identity setup consists of format keywords (marked with %) and param keywords taken from CfgWorlds config.
Basically it is like format command but with some special group keywords. For Arma 3 possible values are:
%GroupSquad
"Squad1" -> 1
"Squad2" -> 2
"Squad3" -> 3
"Squad4" -> 4
%GroupPlatoon
"Platoon1" -> 1
"Platoon2" -> 2
"Platoon3" -> 3
"Platoon4" -> 4
%GroupCompany
"CompanyAlpha" -> Alpha
"CompanyBravo" -> Bravo
"CompanyCharlie" -> Charlie
"CompanyDelta" -> Delta
"CompanyEcho" -> Echo
"CompanyFoxtrot" -> Foxtrot
"CompanyGolf" -> Golf
"CompanyHotel" -> Hotel
"CompanyIndia" -> India
"CompanyKilo" -> Kilo
"CompanyLima" -> Lima
"CompanyMike" -> Mike
"CompanyNovember" -> November
"CompanyOscar" -> Oscar
"CompanyPapa" -> Papa
"CompanyQuebec" -> Quebec
"CompanyRomeo" -> Romeo
"CompanySierra" -> Sierra
"CompanyTango" -> Tango
"CompanyUniform" -> Uniform
"CompanyVictor" -> Victor
"CompanyWhiskey" -> Whiskey
"CompanyXray" -> X-Ray
"CompanyYankee" -> Yankee
"CompanyZulu" -> Zulu
%GroupNames
"Alpha" -> Alpha
"Bravo" -> Bravo
"Charlie" -> Charlie
"Delta" -> Delta
"Echo" -> Echo
"Foxtrot" -> Foxtrot
"Golf" -> Golf
"Hotel" -> Hotel
"November" -> November
"Kilo" -> Kilo
"Yankee" -> Yankee
"Zulu" -> Zulu
"Two" -> Two
"Three" -> Three
"Buffalo" -> Buffalo
"Guardian" -> Guardian
"Convoy" -> Convoy
"Fox" -> Fox
%GroupColors
"GroupColor1" -> Black
"GroupColor2" -> Red
"GroupColor3" -> Green
"GroupColor4" -> Blue
"GroupColor5" -> Yellow
"GroupColor6" -> Orange
"GroupColor7" -> Pink
"GroupColor0" ->
"Six" -> Six
Used In
Arma3
Example
(group player) setGroupId ["%GroupNames - %GroupColors","Alpha","GroupColor2"];