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 - "\|seealso= *\[\[([^ ]+)\]\], \[\[([^ ]+)\]\]" to "|seealso= $1 ")
Line 31: Line 31:
|x1= <code>(example)</code>
|x1= <code>(example)</code>


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

Revision as of 18:11, 20 January 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 leaderselectLeader

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