Description
Return leader of the formation.
Syntax
formationLeader unitName
Parameters:
unitName: Object
Returns: Object
Examples
Example 1
if (formationLeader player != leader player) then
{
hint "Formation leader is not the group leader.";
};
See also
commandFollow · doFollow · formLeader · isFormationLeader · leader · selectLeader · setLeader