setGroupIdGlobal: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "\[\[Category:[cC]ommand[_ ][gG]roup:[_ ][^|]+\|\{*uc:{{PAGENAME}*]\]" to "")
m (Text replacement - " *\| *([Cc]omments|COMMENTS|Game|[Gg]ame [Nn]ame( +[0-9])?|Game [Vv]ersion( +[0-9])?|Game Version \(number surrounded by NO SPACES\)|Arguments in MP|MP[Aa]rg|Multiplayer Arguments( \("local" or "global"\))?|Effects|Execution|Effects...)
Line 1: Line 1:
{{Command|Comments=
{{Command


| arma3 |Game name=
| arma3


|1.48|Game version=
|1.48


|gr1= Groups |GROUP1=
|gr1= Groups


|arg= global |Multiplayer Arguments=
|arg= global


|eff= global |Multiplayer Effects=
|eff= global


| A [[Multiplayer Scripting#Locality|global]] equivalent of  [[setGroupId]]. |DESCRIPTION=
| A [[Multiplayer Scripting#Locality|global]] equivalent of  [[setGroupId]].


| group [[setGroupIdGlobal]] [format, keyword1, ..., keywordN] |SYNTAX=
| group [[setGroupIdGlobal]] [format, keyword1, ..., keywordN]


|p1= group: [[Object]] or [[Group]] |PARAMETER1=
|p1= group: [[Object]] or [[Group]]


|p2= format: [[String]] - format template (e.g "%keyword1 - %keyword2 / %keyword4 (%keyword3)") |PARAMETER2=
|p2= format: [[String]] - format template (e.g "%keyword1 - %keyword2 / %keyword4 (%keyword3)")


|p3= keyword1..n: [[String]] - keyword value |PARAMETER3=
|p3= keyword1..n: [[String]] - keyword value


| [[Nothing]] |RETURNVALUE=
| [[Nothing]]
   
   
|x1= <code>[[group]] [[player]] [[setGroupIdGlobal]] ["PAPA BEAR"];
|x1= <code>[[group]] [[player]] [[setGroupIdGlobal]] ["PAPA BEAR"];
[[hint]] [[groupId]] [[group]] [[player]]; {{cc|"PAPA BEAR"}}</code> |EXAMPLE1=
[[hint]] [[groupId]] [[group]] [[player]]; {{cc|"PAPA BEAR"}}</code>


| [[setGroupId]], [[groupId]], [[group]] |SEEALSO=
| [[setGroupId]], [[groupId]], [[group]]
}}
}}



Revision as of 11:11, 18 January 2021

Hover & click on the images for description

Description

Description:
A global equivalent of setGroupId.
Groups:
Groups

Syntax

Syntax:
group setGroupIdGlobal [format, keyword1, ..., keywordN]
Parameters:
group: Object or Group
format: String - format template (e.g "%keyword1 - %keyword2 / %keyword4 (%keyword3)")
keyword1..n: String - keyword value
Return Value:
Nothing

Examples

Example 1:
group player setGroupIdGlobal ["PAPA BEAR"]; hint groupId group player; // "PAPA BEAR"

Additional Information

See also:
setGroupIdgroupIdgroup

Notes

Report bugs on the Feedback Tracker and/or discuss them on the Arma Discord or on the Forums.
Only post proven facts here! Add Note

Notes