setLeader: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (see also formate)
m (template:command argument fix)
Line 16: Line 16:
| team '''setLeader''' leader |= Syntax
| team '''setLeader''' leader |= Syntax


|p1= team: [[Team Member]] |= PARAMETER1
|p1= team: [[Team Member]] |PARAMETER1=  


|p2= leader: [[Team Member]] |= PARAMETER2
|p2= leader: [[Team Member]] |PARAMETER2=  


|p3= |= PARAMETER3
|p3= |PARAMETER3=  


| [[Nothing]] |= RETURNVALUE
| [[Nothing]] |RETURNVALUE=  




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


____________________________________________________________________________________________
____________________________________________________________________________________________
Line 31: Line 31:
| [[selectLeader]], [[formationLeader]], [[formLeader]], [[leader]], [[isFormationLeader]] |= See also
| [[selectLeader]], [[formationLeader]], [[formLeader]], [[leader]], [[isFormationLeader]] |= See also


|  |= MPBEHAVIOUR
|  |MPBEHAVIOUR=  
____________________________________________________________________________________________
____________________________________________________________________________________________
}}
}}

Revision as of 10:37, 7 April 2019

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

Syntax

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

Examples

Example 1:
(example)

Additional Information

See also:
selectLeaderformationLeaderformLeaderleaderisFormationLeader

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