lockCargo: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - " " to " ")
m (Text replacement - "\| *((\[\[[a-zA-Z0-9_ |()]+\]\],? ?)+) * \}\}" to "|seealso= $1 }}")
Line 38: Line 38:
|x2= <code>vehicleName [[lockCargo]] [0, [[true]]];</code>
|x2= <code>vehicleName [[lockCargo]] [0, [[true]]];</code>


| [[lock]], [[setVehicleLock]], [[lockDriver]], [[lockedCargo]], [[lockTurret]]
|seealso= [[lock]], [[setVehicleLock]], [[lockDriver]], [[lockedCargo]], [[lockTurret]]
}}
}}



Revision as of 23:51, 16 February 2021

Hover & click on the images for description

Description

Description:
Description needed
Groups:
Object Manipulation

Syntax

Syntax:
Syntax needed
Parameters:
vehicle: Object
lock: Boolean
Return Value:
Return value needed

Alternative Syntax

Syntax:
vehicle lockCargo [index, lock]
Parameters:
vehicle: Object
[index, lock]: Array
index: Number
lock: Boolean
Return Value:
Nothing

Examples

Example 1:
vehicleName lockCargo true;
Example 2:
vehicleName lockCargo [0, true];

Additional Information

See also:
locksetVehicleLocklockDriverlockedCargolockTurret

Notes

Report bugs on the Feedback Tracker and/or discuss them on the Arma Discord or on the Forums.
Only post proven facts here! Add Note