selectLeader: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "\| *((\[\[[a-zA-Z0-9_ |()]+\]\],? ?)+) * \}\}" to "|seealso= $1 }}")
m (Text replacement - " <dl class="command_description"> </dl>" to "")
Line 33: Line 33:
}}
}}


<dl class="command_description">
</dl>


[[Category:Scripting Commands|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands|{{uc:{{PAGENAME}}}}]]

Revision as of 00:47, 2 March 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:
Return value needed

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