setLeader: Difference between revisions

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


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


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

Revision as of 12:04, 3 October 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

Examples:
Example needed

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