groupId: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "<code>([^ ]*)\[\[([a-zA-Z][a-zA-Z0-9_]+)\]\]([^ ]*)<\/code>" to "<code>$1$2$3</code>")
m (Text replacement - "<code>([^ ]*)\[\[([a-zA-Z][a-zA-Z0-9_]+)\]\]([^ ]*)<\/code>" to "<code>$1$2$3</code>")
Line 16: Line 16:
|r1= [[String]]
|r1= [[String]]


|x1= <code>_name = groupId (group [[player]]);</code>
|x1= <code>_name = groupId (group player);</code>


|seealso= [[setGroupId]] [[setGroupIdGlobal]] [[group]]
|seealso= [[setGroupId]] [[setGroupIdGlobal]] [[group]]
}}
}}

Revision as of 11:10, 12 May 2022

Hover & click on the images for description

Description

Description:
Returns group name.
Groups:
Groups

Syntax

Syntax:
groupId group
Parameters:
group: Group
Return Value:
String

Examples

Example 1:
_name = groupId (group player);

Additional Information

See also:
setGroupId setGroupIdGlobal group

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