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

groupName setGroupIdGlobal [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. Global version of setGroupId for MP.

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

There are no examples for this command

Advertisement