Arma 3 Scripting

lockedCargo

  • Arma 3 v0.50
  • First in Arma 2 v1.00

Command · Markdown · JSON · original wiki page

Description

Check whether cargo position of the vehicle is locked.

Syntax

vehicle lockedCargo cargoIndex

Parameters:

Returns: Boolean

Examples

Example 1

_result = vehicleName lockedCargo 0;

See also

lockCargo

Community notes

AgentRev

For some vehicles, the command returns Nothing if the cargo index is invalid (i.e. -1)