formationLeader: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - " +" to " ")
m (Text replacement - " \| *([a-zA-Z', _]+) * \|p1=" to " |s1=$1 |p1=")
Line 9: Line 9:
| Return leader of the formation.
| Return leader of the formation.


| '''formationLeader''' unitName
|s1= '''formationLeader''' unitName


|p1= unitName: [[Object]]
|p1= unitName: [[Object]]

Revision as of 11:22, 11 June 2021

Hover & click on the images for description

Description

Description:
Description needed
Groups:
Unit Control

Syntax

Syntax:
formationLeader unitName
Parameters:
unitName: Object
Return Value:
Return value needed

Examples

Example 1:
? (formationLeader player != leader player) :
 hint "Formation leader is not the group leader."

Additional Information

See also:
commandFollowdoFollowformLeaderisFormationLeaderleaderselectLeadersetLeader

Notes

Report bugs on the Feedback Tracker and/or discuss them on the Arma Discord or on the Forums.
Only post proven facts here! Add Note
Posted on December 2, 2006 - 00:46
Kronzky
Return value is <NULL-OBJECT> if no group members exist.