hcSelectGroup: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - " \{\{GameCategory *\| *arma2 *\| *(New )?Scripting Commands\}\}" to "")
mNo edit summary
 
(18 intermediate revisions by one other user not shown)
Line 1: Line 1:
{{RV|type=command
{{RV|type=command


| arma2
|game1= arma2
|1.00
|version1= 1.00


|game2= arma2oa
|game2= arma2oa
Line 15: Line 15:
|gr1= High Command
|gr1= High Command


| Select given group in [[High Command|high command]] bar.
|descr= Select given group in [[High Command|high command]] bar.


|s1= unit '''hcSelectGroup''' array
|s1= unit [[hcSelectGroup]] array


|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]]
}}
}}
{{GameCategory|arma3|Scripting Commands}}
{{GameCategory|tkoh|Scripting Commands}}

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