Difference between revisions of "setGroupId"

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "\[\[Category:[ _]?Scripting[ _]Commands[ _]Take[ _]On[ _]Helicopters(\|.*)?\]\]" to "{{GameCategory|tkoh|Scripting Commands}}")
m (Text replacement - "_{10,} " to "")
Line 1: Line 1:
 
{{Command|Comments=
 
{{Command|Comments=
____________________________________________________________________________________________
 
  
 
| ofp |Game name=
 
| ofp |Game name=
Line 11: Line 10:
  
 
|eff= local |Multiplayer Effects=
 
|eff= local |Multiplayer Effects=
____________________________________________________________________________________________
 
  
 
| Sets the group radio callsign, how it will be displayed in radio chat. Two groups on the same side '''cannot''' have the same callsign (different side is possible). When trying to apply the same callsign to two groups of the same side, the callsigns will simply be swapped, e.g:
 
| Sets the group radio callsign, how it will be displayed in radio chat. Two groups on the same side '''cannot''' have the same callsign (different side is possible). When trying to apply the same callsign to two groups of the same side, the callsigns will simply be swapped, e.g:
Line 136: Line 134:
  
 
For the global variant of this command see [[setGroupIdGlobal]]. |DESCRIPTION=
 
For the global variant of this command see [[setGroupIdGlobal]]. |DESCRIPTION=
____________________________________________________________________________________________
 
  
 
| group [[setGroupId]] [nameFormat, nameParam1, ..., nameParamN] |SYNTAX=
 
| group [[setGroupId]] [nameFormat, nameParam1, ..., nameParamN] |SYNTAX=
Line 149: Line 146:
  
 
| [[Nothing]] |RETURNVALUE=
 
| [[Nothing]] |RETURNVALUE=
____________________________________________________________________________________________
 
  
 
|x1= '''{{arma3}}''':<code>[[group]] [[player]] [[setGroupId]] ["Some name for the group"];
 
|x1= '''{{arma3}}''':<code>[[group]] [[player]] [[setGroupId]] ["Some name for the group"];
Line 162: Line 158:
  
 
|x4= '''OFP''': <code>_group1 [[setGroupId]] ["Delta", "GroupColor4"]</code> |EXAMPLE4=
 
|x4= '''OFP''': <code>_group1 [[setGroupId]] ["Delta", "GroupColor4"]</code> |EXAMPLE4=
____________________________________________________________________________________________
 
  
 
| [[setGroupIdGlobal]], [[groupId]], [[group]] |SEEALSO=
 
| [[setGroupIdGlobal]], [[groupId]], [[group]] |SEEALSO=

Revision as of 02:45, 17 January 2021

Template:Command

Notes

Posted on April 21, 2015 - 23:21 (UTC)
Killzone Kid
List of available keywords from config: "if ((configName _x) select [0, 5] == 'group') then { diag_log ('%' + configName _x); for '_i' from 0 to count _x - 1 do { diag_log ('* ""' + configName (_x select _i) + '"" → ' + getText ((_x select _i) >> 'name')); }; }; false" configClasses (configFile >> "CfgWorlds");

Bottom Section