hcGroupParams: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - " \{\{GameCategory *\| *arma2 *\| *(New )?Scripting Commands\}\}" to "") |
Lou Montana (talk | contribs) m (Text replacement - "\| *(arg|eff|mp|serverExec|gr[0-9]) *= *(.*) * *\|([^=0-9]{12})" to "|$1=$2 |descr=$3") |
||
Line 15: | Line 15: | ||
|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: | |descr= 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: | ||
* <tt>"teammain"</tt> (default) | * <tt>"teammain"</tt> (default) | ||
* <tt>"teamred"</tt> | * <tt>"teamred"</tt> |
Revision as of 21:04, 13 June 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
- Syntax:
- unit hcGroupParams group
- Parameters:
- unit: Object - commander
- group: Group
- Return Value:
- Array
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