Arma 3 Scripting

Command in Object Manipulation

lockDriver

Also available as Markdown and JSON, or read the original wiki page.

Description

Lock the driver position of the vehicle. This command must be executed where vehicle is local. This command will remove user get in action (not get out) but will also stop player getting into vehicle via script commands unlike lock command

Syntax

vehicle lockDriver lock

Parameters:

Returns: Nothing

Examples

Example 1

vehicleName lockDriver true;

See also

lock · setVehicleLock · lockedDriver · lockCargo · lockTurret

Community notes

Sa-Matra

Locked seats also aren't allowed to be controlled remotely through UAV terminal.