hcSelected: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
(see also format)
m (template:command argument fix)
Line 12: Line 12:
| '''hcSelected''' unit |= Syntax
| '''hcSelected''' unit |= Syntax


|p1= unit: [[Object]] -  |= PARAMETER1
|p1= unit: [[Object]] -  |PARAMETER1=  


|p2= |= PARAMETER2
|p2= |PARAMETER2=  


|p3= |= PARAMETER3
|p3= |PARAMETER3=  


| [[Array]] |= RETURNVALUE
| [[Array]] |RETURNVALUE=  




|x1= <code>array = [[hcSelected]] unit;</code>|= EXAMPLE1
|x1= <code>array = [[hcSelected]] unit;</code>|EXAMPLE1=  


____________________________________________________________________________________________
____________________________________________________________________________________________


| [[High Command]], [[hcAllGroups]], [[hcGroupParams]], [[hcLeader]], [[hcRemoveAllGroups]], [[hcRemoveGroup]], [[hcSelectGroup]], [[hcSetGroup]], [[hcShowBar]], [[hcShownBar]], [[onHCGroupSelectionChanged]] |= SEEALSO
| [[High Command]], [[hcAllGroups]], [[hcGroupParams]], [[hcLeader]], [[hcRemoveAllGroups]], [[hcRemoveGroup]], [[hcSelectGroup]], [[hcSetGroup]], [[hcShowBar]], [[hcShownBar]], [[onHCGroupSelectionChanged]] |SEEALSO=  


|  |= MPBEHAVIOUR
|  |MPBEHAVIOUR=  
____________________________________________________________________________________________
____________________________________________________________________________________________
}}
}}

Revision as of 10:34, 7 April 2019

Hover & click on the images for description

Description

Description:
Returns selected groups in high command.
Groups:
Uncategorised

Syntax

Syntax:
hcSelected unit
Parameters:
unit: Object -
Return Value:
Array

Examples

Example 1:
array = hcSelected unit;

Additional Information

See also:
High CommandhcAllGroupshcGroupParamshcLeaderhcRemoveAllGroupshcRemoveGrouphcSelectGrouphcSetGrouphcShowBarhcShownBaronHCGroupSelectionChanged

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

Notes

Bottom Section