hcSelectGroup: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "\|seealso= *\[\[([^ ]+)\]\], \[\[([^ ]+)\]\]" to "|seealso= $1 $2")
mNo edit summary
 
(8 intermediate revisions by one other user not shown)
Line 21: Line 21:
|p1= unit: [[Object]] - HC Owner
|p1= unit: [[Object]] - HC Owner


|p2= array: [[Array]] of [[Group|groups]]
|p2= array: [[Array]] of [[Group]]s


|r1= [[Nothing]]
|r1= [[Nothing]]


|x1= <code>[[player]] [[hcSelectGroup]] [group_1,group_2];</code>
|x1= <sqf>player hcSelectGroup [group_1,group_2];</sqf>


|seealso= [[High Command]] [[hcAllGroups]] [[hcGroupParams]] [[hcLeader]] [[hcRemoveAllGroups]] [[hcRemoveGroup]], [[hcSelected]], [[hcSetGroup]], [[hcShowBar]], [[hcShownBar]], [[onHCGroupSelectionChanged]]
|seealso= [[High Command]] [[hcAllGroups]] [[hcGroupParams]] [[hcLeader]] [[hcRemoveAllGroups]] [[hcRemoveGroup]] [[hcSelected]] [[hcSetGroup]] [[hcShowBar]] [[hcShownBar]] [[onHCGroupSelectionChanged]]
}}
}}

Latest revision as of 10:23, 28 September 2023

Hover & click on the images for description

Description

Description:
Select given group in high command bar.
Groups:
High Command

Syntax

Syntax:
unit hcSelectGroup array
Parameters:
unit: Object - HC Owner
array: Array of Groups
Return Value:
Nothing

Examples

Example 1:
player hcSelectGroup [group_1,group_2];

Additional Information

See also:
High Command hcAllGroups hcGroupParams hcLeader hcRemoveAllGroups hcRemoveGroup hcSelected hcSetGroup hcShowBar hcShownBar onHCGroupSelectionChanged

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