setGroupIdGlobal: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
mNo edit summary
m (Text replacement - "_{10,} " to "")
Line 1: Line 1:
{{Command|Comments=
{{Command|Comments=
____________________________________________________________________________________________


| arma3 |Game name=
| arma3 |Game name=
Line 11: Line 10:


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


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


| group [[setGroupIdGlobal]] [format, keyword1, ..., keywordN] |SYNTAX=
| group [[setGroupIdGlobal]] [format, keyword1, ..., keywordN] |SYNTAX=
Line 25: Line 22:


| [[Nothing]] |RETURNVALUE=
| [[Nothing]] |RETURNVALUE=
____________________________________________________________________________________________
   
   
|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> |EXAMPLE1=
____________________________________________________________________________________________


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

Revision as of 02:31, 17 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