enableVehicleCargo: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
No edit summary
(format)
Line 9: Line 9:
____________________________________________________________________________________________
____________________________________________________________________________________________


| vehicle enableVehicleCargo true |= Syntax
| vehicle [[enableVehicleCargo]] enable |= Syntax


|p1= vehicle: [[Object]]  |= Parameter 1
|p1= vehicle: [[Object]]  |= Parameter 1


|p2=  true: [[Boolean]] |= Parameter 2
|p2=  enable: [[Boolean]] |= Parameter 2


| [[Nothing]] |= Return value
| [[Nothing]] |= Return value
Line 19: Line 19:


|x1=
|x1=
<code>vehicle enableVehicleCargo true;
<code>vehicle [[enableVehicleCargo]] [[true]];
</code> |= Example 1
</code> |= Example 1
____________________________________________________________________________________________
____________________________________________________________________________________________

Revision as of 23:10, 4 July 2016

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 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

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.