selectLeader: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - " <dl class="command_description"> </dl>" to "")
m (Text replacement - "{{uc:{{PAGENAME}}}} " to "")
Line 34: Line 34:




[[Category:Scripting Commands|{{uc:{{PAGENAME}}}}]]
{{GameCategory|ofpe|Scripting Commands}}
{{GameCategory|ofpe|Scripting Commands}}
{{GameCategory|arma1|Scripting Commands}}
{{GameCategory|arma1|Scripting Commands}}

Revision as of 17:19, 8 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:
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