Page tree
Skip to end of metadata
Go to start of metadata



Introduced in

Version:1.00

Description

Description:

Returns the selected units in a group

The selection can be made either by using the function keys, or the command groupSelectUnit.

Syntax

Syntax:groupSelectedUnits leader
Parameters:
  • leader: Object - Group leader.
Return Value:Array - List of units that are currently selected.

Examples

Examples:
Returns units that are selected in the player group:
_selected = groupSelectedUnits player

Additional Information

See also: groupSelectUnit
Multiplayer: 
Problems: 

Notes