Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.



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
's
 group:
_selected = groupSelectedUnits player

Additional Information

See also: groupSelectUnit
Multiplayer: 
Problems: 

Notes