enableVehicleCargo: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
No edit summary
(Added warning about command not being final to enableVehicleCargo)
Line 6: Line 6:
____________________________________________________________________________________________
____________________________________________________________________________________________


| Enable/disable option to transport other vehicles (if configured) or be transported. |= Description
| Enable/disable option to transport other vehicles (if configured) or be transported.  
{{warning|This command is not final and might be changed in the near future.}} |= Description
____________________________________________________________________________________________
____________________________________________________________________________________________



Revision as of 07:48, 20 June 2016

-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.
This command is not final and might be changed in the near future.
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.