hcSelectGroup: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
(add. ArmA2 classification)
 
mNo edit summary
 
(56 intermediate revisions by 6 users not shown)
Line 1: Line 1:
{{RV|type=command


[[Category:Scripting Commands ArmA2|{{uc:{{PAGENAME}}}}]]
|game1= arma2
|version1= 1.00
 
|game2= arma2oa
|version2= 1.50
 
|game3= tkoh
|version3= 1.00
 
|game4= arma3
|version4= 0.50
 
|gr1= High Command
 
|descr= Select given group in [[High Command|high command]] bar.
 
|s1= unit [[hcSelectGroup]] array
 
|p1= unit: [[Object]] - HC Owner
 
|p2= array: [[Array]] of [[Group]]s
 
|r1= [[Nothing]]
 
|x1= <sqf>player hcSelectGroup [group_1,group_2];</sqf>
 
|seealso= [[High Command]] [[hcAllGroups]] [[hcGroupParams]] [[hcLeader]] [[hcRemoveAllGroups]] [[hcRemoveGroup]] [[hcSelected]] [[hcSetGroup]] [[hcShowBar]] [[hcShownBar]] [[onHCGroupSelectionChanged]]
}}

Latest revision as of 11: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