Arma 3 Scripting

Command in Object Manipulation

lockedCargo

Also available as Markdown and JSON, or read the 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)