selectLeader: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - " " to " ") |
Lou Montana (talk | contribs) m (Text replacement - " \| (\[\[[a-zA-Z ]+\]\]) \|x1=" to " |r1=$1 |x1=") |
||
Line 24: | Line 24: | ||
|p2= unitName: [[Object]] | |p2= unitName: [[Object]] | ||
| [[Nothing]] | |r1=[[Nothing]] | ||
|x1= <code>[[group]] [[player]] [[selectLeader]] [[player]];</code> | |x1= <code>[[group]] [[player]] [[selectLeader]] [[player]];</code> |
Revision as of 21:22, 10 June 2021
Description
- Description:
- Description needed
- Groups:
- Groups
Syntax
- Syntax:
- Syntax needed
- Parameters:
- group: Group
- unitName: Object
- Return Value:
- Nothing
Examples
- Example 1:
group player selectLeader player;
- Example 2:
- Make unit a leader from server:
[group _unit, _unit] remoteExec ["selectLeader", groupOwner group _unit];
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