leader: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "{{Command " to "{{RV|type=command ")
m (Text replacement - "\| *((\[\[[a-zA-Z0-9_ |()]+\]\],? ?)+) * \}\}" to "|seealso= $1 }}")
Line 23: Line 23:
|x3 =<code>_UnitLeader <nowiki>=</nowiki> [[leader]] [[player]] </code>
|x3 =<code>_UnitLeader <nowiki>=</nowiki> [[leader]] [[player]] </code>


| [[formationLeader]], [[formLeader]], [[isFormationLeader]], [[selectLeader]]
|seealso= [[formationLeader]], [[formLeader]], [[isFormationLeader]], [[selectLeader]]
}}
}}



Revision as of 23:47, 16 February 2021

Hover & click on the images for description

Description

Description:
Description needed
Groups:
Groups

Syntax

Syntax:
Syntax needed
Parameters:
unitName: Object or Group
Return Value:
Return value needed

Examples

Example 1:
leader group player == leader player
Example 2:
_GroupLeader = leader (group (vehicle player))
Example 3:
_UnitLeader = leader player

Additional Information

See also:
formationLeaderformLeaderisFormationLeaderselectLeader

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