Arma 3 Scripting

Command in Teams

setLeader

Also available as Markdown and JSON, or read the original wiki page.

Description

Important

To set a Group leader, see selectLeader.

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

Syntax

team setLeader leader

Parameters:

Returns: Nothing

See also

commandFollow · doFollow · formationLeader · formLeader · isFormationLeader · leader · selectLeader