groupSelectedUnits: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
(Moved note text into description for better visibility)
m (template:command argument fix)
Line 12: Line 12:
| '''groupSelectedUnits''' unit |= Syntax
| '''groupSelectedUnits''' unit |= Syntax


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


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


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


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




|x1= <code>_selectedUnits = [[groupSelectedUnits]] [[player]];</code>|= EXAMPLE1  
|x1= <code>_selectedUnits = [[groupSelectedUnits]] [[player]];</code>|EXAMPLE1=   


____________________________________________________________________________________________
____________________________________________________________________________________________


| [[groupSelectUnit]] |= SEEALSO
| [[groupSelectUnit]] |SEEALSO=  


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

Revision as of 11:33, 7 April 2019

Hover & click on the images for description

Description

Description:
Returns selected units in source group for normal commanding mode (individual units). For the High Command equivalent, see hcSelected.
Groups:
Uncategorised

Syntax

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

Examples

Example 1:
_selectedUnits = groupSelectedUnits player;

Additional Information

See also:
groupSelectUnit

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