formationLeader: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (template:command argument fix)
Line 7: Line 7:
____________________________________________________________________________________________
____________________________________________________________________________________________


| Return leader of the formation. |= Description
| Return leader of the formation. |DESCRIPTION=
____________________________________________________________________________________________
____________________________________________________________________________________________


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


|p1= unitName: [[Object]] |= Parameter 1
|p1= unitName: [[Object]] |PARAMETER1=


| [[Object]] |= Return value
| [[Object]] |RETURNVALUE=
____________________________________________________________________________________________
____________________________________________________________________________________________
|x1= <pre>? (formationLeader player != leader player) :
|x1= <pre>? (formationLeader player != leader player) :
  hint "Formation leader is not the group leader."</pre> |= Example 1
  hint "Formation leader is not the group leader."</pre> |EXAMPLE1=
____________________________________________________________________________________________
____________________________________________________________________________________________


| [[formLeader]], [[leader]], [[isFormationLeader]], [[selectLeader]] |= See also
| [[formLeader]], [[leader]], [[isFormationLeader]], [[selectLeader]] |SEEALSO=


}}
}}

Revision as of 14:39, 7 April 2019

-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:
formLeaderleaderisFormationLeaderselectLeader

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