Introduced in

Version:1.00

Description

Description:Returns the subgroup leader for the given subgroup. For a dead unit, grpNull is returned.

Syntax

Syntax:leader subgrp
Parameters:
Return Value:Object - Subgroup leader.

Examples

Examples:
leader subgroup player == leader player

Additional Information

See also: setLeader, selectLeader
Multiplayer: 
Problems: 

Notes