hcSelected: Difference between revisions
Lou Montana (talk | contribs) m (Text replacement - "\|x([0-9])= *<code>([^<]*)<\/code>" to "|x$1= <sqf>$2</sqf>") |
BrettMayson (talk | contribs) mNo edit summary |
||
| Line 21: | Line 21: | ||
|p1= unit: [[Object]] - commander | |p1= unit: [[Object]] - commander | ||
|r1= [[Array]] | |r1= [[Array]] of [[Group]]s | ||
|x1= <sqf>array = hcSelected unit;</sqf> | |x1= <sqf>array = hcSelected unit;</sqf> | ||
Latest revision as of 11:38, 1 January 2026
Description
- Description:
- Returns selected groups in high command.
- Groups:
- High Command
Syntax
- Syntax:
- hcSelected unit
- Parameters:
- unit: Object - commander
- Return Value:
- Array of Groups
Examples
- Example 1:
Additional Information
- See also:
- High Command hcAllGroups hcGroupParams hcLeader hcRemoveAllGroups hcRemoveGroup hcSelectGroup hcSetGroup hcShowBar hcShownBar onHCGroupSelectionChanged
Notes
-
Report bugs on the Feedback Tracker and/or discuss them on the Arma Discord.
Only post proven facts here! Add Note