enableVehicleCargo

From Bohemia Interactive Community
Revision as of 09:57, 4 July 2016 by Tom 48 97 (talk | contribs)
Jump to navigation Jump to search
-wrong parameter ("arma3dev") defined!-[[:Category:Introduced with arma3dev version 1.63|1.63]]
Hover & click on the images for description

Description

Description:
Enable/disable option to transport other vehicles (if configured) or be transported.
Multiplayer:
-
Groups:
Uncategorised

Syntax

Syntax:
vehicle enableVehicleCargo true
Parameters:
vehicle: Object
true: Boolean
Return Value:
Nothing

Examples

Example 1:
vehicle enableVehicleCargo true;

Additional Information

See also:
Vehicle in Vehicle Transport canVehicleCargo setVehicleCargo getVehicleCargo isVehicleCargo vehicleCargoEnabled

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

[[Category:Introduced with arma3dev version 1.63]][[ Category: arma3dev: New Scripting Commands | ENABLEVEHICLECARGO]][[ Category: arma3dev: Scripting Commands | ENABLEVEHICLECARGO]]

Bottom Section

Posted on June 20, 2016 - 06:11 (UTC)
Pennyworth
Setting enableVehicleCargo to true does not mean a vehicle can now load vehicles as cargo. They are still required to be correctly setup as shown on the Vehicle in Vehicle Transport page.