setGroupIdGlobal: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "|= Game name" to "|Game name=")
(Example added)
Line 25: Line 25:
____________________________________________________________________________________________
____________________________________________________________________________________________
   
   
|x1= <code></code>|EXAMPLE1=
|x1= <code>[[group]] [[player]] [[setGroupIdGlobal]] ["PAPA BEAR"];
[[hint]] [[groupId]] [[group]] [[player]]; {{cc|"PAPA BEAR"}}</code> |EXAMPLE1=
____________________________________________________________________________________________
____________________________________________________________________________________________



Revision as of 14:05, 2 June 2020

Hover & click on the images for description

Description

Description:
A global equivalent of setGroupId
Groups:
Uncategorised

Syntax

Syntax:
group setGroupIdGlobal [nameFormat, nameParam1, ..., nameParamN]
Parameters:
group: Object or Group
[nameFormat, nameParam1, ..., nameParamN]: Array
nameFormat: String - format template (%keyword1 - %keyword2...etc)
nameParam1: String - param keyword
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