Arma 3 Scripting

locked

  • Global argument
  • Arma 3 v0.50
  • First in Operation Flashpoint v1.00

Command · Markdown · JSON · 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