enableVehicleCargo: Difference between revisions
Jump to navigation
Jump to search
Killzone Kid (talk | contribs) (format) |
m (template:command argument fix) |
||
Line 6: | Line 6: | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| Enable/disable option to transport other vehicles (if configured) or be transported. |= | | Enable/disable option to transport other vehicles (if configured) or be transported. |DESCRIPTION= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| vehicle [[enableVehicleCargo]] enable |= | | vehicle [[enableVehicleCargo]] enable |SYNTAX= | ||
|p1= vehicle: [[Object]] |= | |p1= vehicle: [[Object]] |PARAMETER1= | ||
|p2= enable: [[Boolean]] |= | |p2= enable: [[Boolean]] |PARAMETER2= | ||
| [[Nothing]] |= | | [[Nothing]] |RETURNVALUE= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
|x1= | |x1= | ||
<code>vehicle [[enableVehicleCargo]] [[true]]; | <code>vehicle [[enableVehicleCargo]] [[true]]; | ||
</code> |= | </code> |EXAMPLE1= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
|mp= - |= Multiplayer Behaviour | |mp= - |= Multiplayer Behaviour | ||
| [[Arma_3_Vehicle_in_Vehicle_Transport| Vehicle in Vehicle Transport ]] [[canVehicleCargo]] [[setVehicleCargo]] [[getVehicleCargo]] [[isVehicleCargo]] [[vehicleCargoEnabled]] |= | | [[Arma_3_Vehicle_in_Vehicle_Transport| Vehicle in Vehicle Transport ]] [[canVehicleCargo]] [[setVehicleCargo]] [[getVehicleCargo]] [[isVehicleCargo]] [[vehicleCargoEnabled]] |SEEALSO= | ||
}} | }} |
Revision as of 14:38, 7 April 2019
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.