Arma 3 Scripting

Command in Interaction

groupSelectedUnits

Also available as Markdown and JSON, or read the original wiki page.

Description

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

Syntax

groupSelectedUnits unit

Parameters:

Returns: Array of Objects

Examples

Example 1

_selectedUnits = groupSelectedUnits player;

See also

groupSelectUnit