selectLeader: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - " \| (\[\[[a-zA-Z ]+\]\]) \|x1=" to " |r1=$1 |x1=") |
Lou Montana (talk | contribs) m (Text replacement - " +" to " ") |
||
Line 32: | Line 32: | ||
|seealso= [[commandFollow]], [[doFollow]], [[formationLeader]], [[formLeader]], [[isFormationLeader]], [[leader]], [[setLeader]] | |seealso= [[commandFollow]], [[doFollow]], [[formationLeader]], [[formLeader]], [[isFormationLeader]], [[leader]], [[setLeader]] | ||
}} | }} | ||
{{GameCategory|ofpe|Scripting Commands}} | {{GameCategory|ofpe|Scripting Commands}} |
Revision as of 23:39, 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