Arma 3 Scripting

Command in Object Manipulation

locked

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

Description

Check if vehicle is locked. If it is locked, Persons cannot mount / dismount without order.

Syntax

locked vehicle

Parameters:

Returns: - Number - since Arma 3 v0.50

Examples

Example 1

_locked = locked _jeepOne;

See also

lock · setVehicleLock · lockedDriver · lockedCargo · lockedTurret