enableVehicleCargo: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - ">Posted on June ([0-9]{2})[ a-zA-Z]*, ([0-9]{4})" to ">Posted on $2-06-$1")
m (Text replacement - " +\]" to "]")
 
Line 19: Line 19:
<sqf>vehicle enableVehicleCargo true;</sqf>
<sqf>vehicle enableVehicleCargo true;</sqf>


|seealso= [[Arma 3: Vehicle in Vehicle Transport| Vehicle in Vehicle Transport ]] [[canVehicleCargo]] [[setVehicleCargo]] [[getVehicleCargo]] [[isVehicleCargo]] [[vehicleCargoEnabled]]
|seealso= [[Arma 3: Vehicle in Vehicle Transport| Vehicle in Vehicle Transport]] [[canVehicleCargo]] [[setVehicleCargo]] [[getVehicleCargo]] [[isVehicleCargo]] [[vehicleCargoEnabled]]
}}
}}



Latest revision as of 18:15, 8 November 2023

Hover & click on the images for description

Description

Description:
Enable/disable option to transport other vehicles (if configured) or be transported.
Groups:
Vehicle in Vehicle Transport

Syntax

Syntax:
vehicle enableVehicleCargo enable
Parameters:
vehicle: Object
enable: 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


Posted on 2016-06-20 - 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.