lockCargo: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
(locality, see also)
Line 5: Line 5:


|1.00|= Game version
|1.00|= Game version
|arg= local |= Arguments in MP
|eff= global |= Effects in MP
____________________________________________________________________________________________
____________________________________________________________________________________________


| Lock the all cargo positions of the vehicle. |= Description
| Lock the all cargo positions of the vehicle. This command must be executed where vehicle is [[local]].|= Description
____________________________________________________________________________________________
____________________________________________________________________________________________


Line 21: Line 25:




|x1= <code>vehicleName lockCargo true;</code>|= EXAMPLE1  
|x1= <code>vehicleName [[lockCargo]] [[true]];</code>|= EXAMPLE1  


|x2= <code>vehicleName lockCargo [0, true];</code>|= EXAMPLE2
|x2= <code>vehicleName [[lockCargo]] [0, [[true]]];</code>|= EXAMPLE2


____________________________________________________________________________________________
____________________________________________________________________________________________


| [[lockedCargo]]  |= SEEALSO  
| [[lockedCargo]], [[lockDriver]], [[lockTurret]]  |= SEEALSO  


|  |= MPBEHAVIOUR  
|  |= MPBEHAVIOUR  

Revision as of 14:36, 6 December 2013

Hover & click on the images for description

Description

Description:
Lock the all cargo positions of the vehicle. This command must be executed where vehicle is local.
Groups:
Uncategorised

Syntax

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

Examples

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

Additional Information

See also:
lockedCargolockDriverlockTurret

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

Notes

Bottom Section