hcGroupParams: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "_{10,} " to "") |
Lou Montana (talk | contribs) m (Text replacement - " *\| *([Cc]omments|COMMENTS|Game|[Gg]ame [Nn]ame|Game [Vv]ersion|Game Version \(number surrounded by NO SPACES\)|Multiplayer Arguments( \("local" or "global"\))?|Effects|Multiplayer Effects( \("local" or "global"\))?|Multiplayer Exe...) |
||
Line 1: | Line 1: | ||
{{Command | {{Command | ||
| arma2 | | arma2 | ||
|1.00 | |1.00 | ||
|gr1= High Command | |gr1= High Command | ||
| Returns parameters describing group in [[High Command|high command]] bar. Return value is array in format [groupName, teamName] or [] if error. Possible values for team name: | | Returns parameters describing group in [[High Command|high command]] bar. Return value is array in format [groupName, teamName] or [] if error. Possible values for team name: | ||
Line 14: | Line 14: | ||
* <tt>"teamyellow"</tt> | * <tt>"teamyellow"</tt> | ||
| | | unit '''hcGroupParams''' group | ||
| | |p1= unit: [[Object]] - | ||
| | |p2= group: [[Group]] - | ||
| | |p3= | ||
| [[Array]] | |||
|x1= <code>[[player]] [[hcGroupParams]] someGroup;</code> | |||
| [[High Command]],[[hcAllGroups]],[[hcLeader]], [[hcRemoveAllGroups]], [[hcRemoveGroup]], [[hcSelected]], [[hcSelectGroup]], [[hcSetGroup]], [[hcShowBar]], [[hcShownBar]], [[onHCGroupSelectionChanged]] | |||
| [[High Command]],[[hcAllGroups]],[[hcLeader]], [[hcRemoveAllGroups]], [[hcRemoveGroup]], [[hcSelected]], [[hcSelectGroup]], [[hcSetGroup]], [[hcShowBar]], [[hcShownBar]], [[onHCGroupSelectionChanged]] | |||
| |MPBEHAVIOUR= | | |MPBEHAVIOUR= |
Revision as of 00:42, 18 January 2021
Description
- Description:
- Returns parameters describing group in high command bar. Return value is array in format [groupName, teamName] or [] if error. Possible values for team name:
- "teammain" (default)
- "teamred"
- "teamgreen"
- "teamblue"
- "teamyellow"
- Groups:
- High Command
Syntax
Examples
- Example 1:
player hcGroupParams someGroup;
Additional Information
- See also:
- High CommandhcAllGroupshcLeaderhcRemoveAllGroupshcRemoveGrouphcSelectedhcSelectGrouphcSetGrouphcShowBarhcShownBaronHCGroupSelectionChanged
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