hcAllGroups: Difference between revisions
Lou Montana (talk | contribs) m (Text replacement - "<code>\[\[([a-zA-Z0-9_]+)\]\] +\[\[([a-zA-Z0-9_]+)\]\];?<\/code>" to "<sqf>$1 $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>hcAllGroups player;</sqf> | |x1= <sqf>hcAllGroups player;</sqf> | ||
Latest revision as of 11:38, 1 January 2026
Description
- Description:
- Returns selected groups in high command.
- Groups:
- High Command
Syntax
- Syntax:
- hcAllGroups unit
- Parameters:
- unit: Object - commander
- Return Value:
- Array of Groups
Examples
- Example 1:
- hcAllGroups player;
Additional Information
- See also:
- High Command hcGroupParams hcLeader hcRemoveAllGroups hcRemoveGroup hcSelected 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