setEffectiveCommander
- Global argument
- Local effect
- Arma 3 v1.96
Command · Markdown · JSON · original wiki page
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.
Syntax
vehicle setEffectiveCommander person
Parameters:
Returns: Nothing
Examples
Example 1
vehicle player setEffectiveCommander player;
Multiplayer
In multiplayer, execute globally.