leader
From Bohemia Interactive Community
| Editors, please check Policy: Scripting Command Page Syntax. |
Click on the images for descriptions
Introduced in
- Game:
- Operation Flashpoint
- Version:
- 1.00
Description
- Description:
- Returns the group leader for the given unit or group. For dead units, objNull is returned.
Syntax
Examples
- Example 1:
leader group player == leader player- Example 2:
_GroupLeader = leader (group (vehicle player))- Example 3:
_UnitLeader = leader player
Additional Information
- Multiplayer:
- Behaviour unknown.
- See also:
- formationLeader, formLeader, isFormationLeader, selectLeader

