setEffectiveCommander

From Bohemia Interactive Community
Jump to navigation Jump to search
Introduced with Arma 3 version 1.96
  Arguments of this scripting command don't have to be local to the client the command is executed onEffects of this scripting command are not broadcasted over the network and remain local to the client the command is executed on

Click on the images for descriptions

Introduced in

Game:
Arma 3
Version:
1.96

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.

Syntax

Syntax:
vehicle setEffectiveCommander person
Parameters:
vehicle: Object
person: Object
Return Value:
Nothing

Examples

Example 1:
vehicle player setEffectiveCommander player;

Additional Information

Multiplayer:
-
See also:
effectiveCommandercommandervehicleMoveInfo

Notes

Only post proven facts here. Report bugs on the feedback tracker. Use the talk page or the forums for discussions.
Add New Note | How To

Notes

Bottom Section