selectLeader: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - " " to " ")
m (Text replacement - " \| (\[\[[a-zA-Z ]+\]\]) \|x1=" to " |r1=$1 |x1=")
Line 24: Line 24:
|p2= unitName: [[Object]]
|p2= unitName: [[Object]]


| [[Nothing]]
|r1=[[Nothing]]


|x1= <code>[[group]] [[player]] [[selectLeader]] [[player]];</code>
|x1= <code>[[group]] [[player]] [[selectLeader]] [[player]];</code>

Revision as of 21:22, 10 June 2021

Hover & click on the images for description

Description

Description:
Description needed
Groups:
Groups

Syntax

Syntax:
Syntax needed
Parameters:
group: Group
unitName: Object
Return Value:
Nothing

Examples

Example 1:
group player selectLeader player;
Example 2:
Make unit a leader from server:[group _unit, _unit] remoteExec ["selectLeader", groupOwner group _unit];

Additional Information

See also:
commandFollowdoFollowformationLeaderformLeaderisFormationLeaderleadersetLeader

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