lockCargo: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
(added: example with cargo index, index parameter and See Also)
Line 43: Line 43:
[[Category:ArmA 2: New Scripting Commands List|{{uc:{{PAGENAME}}}}]]
[[Category:ArmA 2: New Scripting Commands List|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands ArmA2|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands ArmA2|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting_Commands_Take_On_Helicopters|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands|{{uc:{{PAGENAME}}}}]]

Revision as of 11:17, 2 November 2011

Hover & click on the images for description

Description

Description:
Lock the all cargo positions of the vehicle.
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:
lockedCargo

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