setLeader: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "[[Category:Scripting_Commands_Take_On_Helicopters" to "[[Category:Scripting Commands Take On Helicopters")
mNo edit summary
Line 9: Line 9:


|eff= local |Multiplayer Effects=
|eff= local |Multiplayer Effects=
|gr1= Teams |GROUP1=
____________________________________________________________________________________________
____________________________________________________________________________________________



Revision as of 13:22, 24 September 2020

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:
commandFollowdoFollowformationLeaderformLeaderisFormationLeaderleaderselectLeader

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

Notes

Bottom Section