setLeader: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "\|seealso= *\[\[([^ ]+)\]\], \[\[([^ ]+)\]\]" to "|seealso= $1 $2")
m (Text replacement - "\|x([0-9])= *<code>([^<]*)<\/code>" to "|x$1= <sqf>$2</sqf>")
Line 29: Line 29:
|r1= [[Nothing]]
|r1= [[Nothing]]


|x1= <code>(example)</code>
|x1= <sqf>(example)</sqf>


|seealso= [[commandFollow]] [[doFollow]] [[formationLeader]] [[formLeader]] [[isFormationLeader]] [[leader]] [[selectLeader]]
|seealso= [[commandFollow]] [[doFollow]] [[formationLeader]] [[formLeader]] [[isFormationLeader]] [[leader]] [[selectLeader]]
}}
}}

Revision as of 11:24, 13 May 2022

Hover & click on the images for description

Description

Description:
Set the leader of given team. Effect is local, unless both leader unit and team are local to PC on which command is executed, then effect is global.
Groups:
Teams

Syntax

Syntax:
team setLeader leader
Parameters:
team: Team Member
leader: Team Member
Return Value:
Nothing

Examples

Example 1:
(example)

Additional Information

See also:
commandFollow doFollow formationLeader formLeader isFormationLeader leader selectLeader

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