enableVehicleCargo: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "\[\[Category:[ _]?Scripting[ _]Commands[ _]Arma[ _]3(\|.*)]]" to "{{GameCategory|arma3|Scripting Commands}}") |
Lou Montana (talk | contribs) m (Text replacement - "_{10,} " to "") |
||
Line 1: | Line 1: | ||
{{Command|Comments= | {{Command|Comments= | ||
| arma3 |Game name= | | arma3 |Game name= | ||
Line 6: | Line 5: | ||
|gr1= Vehicle in Vehicle Transport |GROUP1= | |gr1= Vehicle in Vehicle Transport |GROUP1= | ||
| 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. |DESCRIPTION= | ||
| vehicle [[enableVehicleCargo]] enable |SYNTAX= | | vehicle [[enableVehicleCargo]] enable |SYNTAX= | ||
Line 18: | Line 15: | ||
| [[Nothing]] |RETURNVALUE= | | [[Nothing]] |RETURNVALUE= | ||
|x1= | |x1= | ||
<code>vehicle [[enableVehicleCargo]] [[true]]; | <code>vehicle [[enableVehicleCargo]] [[true]]; | ||
</code> |EXAMPLE1= | </code> |EXAMPLE1= | ||
| [[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]] |SEEALSO= |
Revision as of 01:19, 17 January 2021
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
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.