setLeader: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "\[\[Category:[ _]?Scripting[ _]Commands[ _]Take[ _]On[ _]Helicopters(\|.*)?\]\]" to "{{GameCategory|tkoh|Scripting Commands}}") |
Lou Montana (talk | contribs) m (Text replacement - "_{10,} " to "") |
||
Line 1: | Line 1: | ||
{{Command|Comments= | {{Command|Comments= | ||
| arma2 |Game name= | | arma2 |Game name= | ||
Line 11: | Line 10: | ||
|gr1= Teams |GROUP1= | |gr1= Teams |GROUP1= | ||
| 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. |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. |DESCRIPTION= | ||
| team '''setLeader''' leader |SYNTAX= | | team '''setLeader''' leader |SYNTAX= | ||
Line 29: | Line 26: | ||
|x1= <code>(example)</code>|EXAMPLE1= | |x1= <code>(example)</code>|EXAMPLE1= | ||
| [[commandFollow]], [[doFollow]], [[formationLeader]], [[formLeader]], [[isFormationLeader]], [[leader]], [[selectLeader]] |SEEALSO= | | [[commandFollow]], [[doFollow]], [[formationLeader]], [[formLeader]], [[isFormationLeader]], [[leader]], [[selectLeader]] |SEEALSO= | ||
| |MPBEHAVIOUR= | | |MPBEHAVIOUR= | ||
}} | }} | ||
Revision as of 02:37, 17 January 2021
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
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