Introduced in

Version:1.00

Description

Description:Returns the formation leader of the given unit. This is often the same as the group leader, but not always (for example, in cases when a unit is ordered to follow another unit).

Syntax

Syntax:formLeader unit
Parameters:

unit: Object - Unit whose formation leader is returned.

Return Value:Object - Formation leader. If used on a dead unit, the returned value is objNull.

Examples

Examples:
hint str formLeader player

Additional Information

See also: formationLeader, leader, isFormationLeader, selectLeader
Multiplayer: 
Problems: 

Notes