formationLeader: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - " \| *([a-zA-Z', _]+) * \|p1=" to " |s1=$1 |p1=")
m (Text replacement - " \| ?\[\[([a-zA-Z0-9]+)\]\] *\|x1=" to " |r1= $1 |x1=")
Line 13: Line 13:
|p1= unitName: [[Object]]
|p1= unitName: [[Object]]


| [[Object]]
|r1= [[Object]]
 
|x1= <pre>? (formationLeader player != leader player) :
|x1= <pre>? (formationLeader player != leader player) :
  hint "Formation leader is not the group leader."</pre>
  hint "Formation leader is not the group leader."</pre>

Revision as of 10:27, 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:
Object

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.