selectLeader: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - " \| (\[\[[a-zA-Z ]+\]\]) \|x1=" to " |r1=$1 |x1=")
m (Text replacement - " +" to " ")
Line 32: Line 32:
|seealso= [[commandFollow]], [[doFollow]], [[formationLeader]], [[formLeader]], [[isFormationLeader]], [[leader]], [[setLeader]]
|seealso= [[commandFollow]], [[doFollow]], [[formationLeader]], [[formLeader]], [[isFormationLeader]], [[leader]], [[setLeader]]
}}
}}


{{GameCategory|ofpe|Scripting Commands}}
{{GameCategory|ofpe|Scripting Commands}}

Revision as of 00:39, 11 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