enableVehicleCargo: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "_{10,} " to "") |
Lou Montana (talk | contribs) m (Text replacement - " *\| *([Cc]omments|COMMENTS|Game|[Gg]ame [Nn]ame|Game [Vv]ersion|Game Version \(number surrounded by NO SPACES\)|Multiplayer Arguments( \("local" or "global"\))?|Effects|Multiplayer Effects( \("local" or "global"\))?|Multiplayer Exe...) |
||
Line 1: | Line 1: | ||
{{Command | {{Command | ||
| arma3 | | arma3 | ||
|1.62 | |1.62 | ||
|gr1= Vehicle in Vehicle Transport | |gr1= Vehicle in Vehicle Transport | ||
| Enable/disable option to transport other vehicles (if configured) or be transported. | | Enable/disable option to transport other vehicles (if configured) or be transported. | ||
| vehicle [[enableVehicleCargo]] enable | | vehicle [[enableVehicleCargo]] enable | ||
|p1= vehicle: [[Object]] | |p1= vehicle: [[Object]] | ||
|p2= enable: [[Boolean]] | |p2= enable: [[Boolean]] | ||
| [[Nothing]] | | [[Nothing]] | ||
|x1= | |x1= | ||
<code>vehicle [[enableVehicleCargo]] [[true]]; | <code>vehicle [[enableVehicleCargo]] [[true]]; | ||
</code> | </code> | ||
| [[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]] | ||
}} | }} |
Revision as of 00:36, 18 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.