formationLeader unitName

Operand types

unitName: Object

Type of returned value

Description

Formation leader for given unit, for dead units objNull.
This is often the same as group leader, but not always.

Used In

ArmA

Example

? (formationLeader player != leader player) : hint "Formation leader is not the group leader."
Search OFPEC COMREF

Advertisement