setEffectiveCommander: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "\| *arma3 * * *\| *([0-2]\.[0-9]{2}) * " to "|game1= arma3 |version1= $1 ") |
Lou Montana (talk | contribs) |
||
Line 22: | Line 22: | ||
|x1= <code>[[vehicle]] [[player]] [[setEffectiveCommander]] [[player]];</code> | |x1= <code>[[vehicle]] [[player]] [[setEffectiveCommander]] [[player]];</code> | ||
|seealso= [[effectiveCommander]] | |seealso= [[effectiveCommander]] [[commander]], [[vehicleMoveInfo]] | ||
}} | }} |
Revision as of 17:42, 20 January 2022
Description
- Description:
- Sets effectiveCommander of the given vehicle. Effective commander is the person who commands the vehicle, i.e. gives commands to the driver. Every time a person gets in or out of a vehicle, effective commander eligibility is recalculated by the engine based on the current crew. Use this command to force desired effective commander. In multiplayer, execute globally.
- Groups:
- Unit Control
Syntax
- Syntax:
- vehicle setEffectiveCommander person
- Parameters:
- vehicle: Object
- person: Object
- Return Value:
- Nothing
Examples
- Example 1:
vehicle player setEffectiveCommander player;
Additional Information
- See also:
- effectiveCommander commandervehicleMoveInfo
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