Arma 3 Scripting

Command in Unit Control

formationLeader

Also available as Markdown and JSON, or read the original wiki page.

Description

Return leader of the formation.

Syntax

formationLeader unitName

Parameters:

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