formationLeader: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "[[Category:Scripting_Commands_Take_On_Helicopters" to "[[Category:Scripting Commands Take On Helicopters")
m (Text replacement - "\<dt class\=\"note\"\>\'\'\'\[\[(.*)\]\]\'\'\'" to "<dt class="note">$1")
Line 28: Line 28:
<!-- Note Section BEGIN -->
<!-- Note Section BEGIN -->
<dd class="notedate">Posted on December 2, 2006 - 00:46
<dd class="notedate">Posted on December 2, 2006 - 00:46
<dt class="note">'''[[User:Kronzky|Kronzky]]'''<dd class="note">Return value is <NULL-OBJECT> if no group members exist.
<dt class="note">[[User:Kronzky|Kronzky]]<dd class="note">Return value is <NULL-OBJECT> if no group members exist.


<!-- Note Section END -->
<!-- Note Section END -->

Revision as of 17:13, 17 May 2020

-wrong parameter ("Arma") defined!-1.00
Hover & click on the images for description

Description

Description:
Return leader of the formation.
Groups:
Uncategorised

Syntax

Syntax:
Object = 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

Notes

Posted on December 2, 2006 - 00:46
Kronzky
Return value is <NULL-OBJECT> if no group members exist.

Bottom Section