Arma 3 Scripting

isFormationLeader

  • Arma 3 v0.50
  • First in Armed Assault v1.00

Command · Markdown · JSON · original wiki page

Description

Returns true if the specified unit is subgroup leader.

Syntax

isFormationLeader unit

Parameters:

Returns: Boolean - true if unit is subgroup leader.

Examples

Example 1

_isLeader = isFormationLeader player;

See also

commandFollow · doFollow · formationLeader · formLeader · leader · selectLeader · setLeader