setLeader: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - " \{\{GameCategory *\| *arma2 *\| *(New )?Scripting Commands\}\}" to "") |
Lou Montana (talk | contribs) m (Text replacement - "\| *(arg|eff|mp|serverExec|gr[0-9]) *= *(.*) * *\|([^=0-9]{12})" to "|$1=$2 |descr=$3") |
||
Line 19: | Line 19: | ||
|gr1= Teams | |gr1= Teams | ||
| 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. | |descr= 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. | ||
|s1= team '''setLeader''' leader | |s1= team '''setLeader''' leader |
Revision as of 21:23, 13 June 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