formationLeader: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "<!-- Note Section [A-Z]+ --> " to "")
m (Text replacement - "\| \[\[.+\]\] \<nowiki\>\=\<\/nowiki\> " to "| ")
Line 9: Line 9:
| Return leader of the formation.
| Return leader of the formation.


| [[Object]] <nowiki>=</nowiki> '''formationLeader''' unitName
| '''formationLeader''' unitName


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

Revision as of 16:34, 8 May 2021

Hover & click on the images for description

Description

Description:
Description needed
Groups:
Unit Control

Syntax

Syntax:
Syntax needed
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.