enableVehicleCargo: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "<code>([^\[]+)<\/code>" to "<sqf>$1</sqf>") |
Lou Montana (talk | contribs) m (Text replacement - "\[\[Arma( |_)3( |_)Vehicle( |_)in( |_)Vehicle( |_)Transport" to "[[Arma 3: Vehicle in Vehicle Transport") |
||
Line 19: | Line 19: | ||
<sqf>vehicle enableVehicleCargo true;</sqf> | <sqf>vehicle enableVehicleCargo true;</sqf> | ||
|seealso= [[ | |seealso= [[Arma 3: Vehicle in Vehicle Transport| Vehicle in Vehicle Transport ]] [[canVehicleCargo]] [[setVehicleCargo]] [[getVehicleCargo]] [[isVehicleCargo]] [[vehicleCargoEnabled]] | ||
}} | }} | ||
Line 29: | Line 29: | ||
<dt class="note">[[User:Pennyworth|Pennyworth]]</dt> | <dt class="note">[[User:Pennyworth|Pennyworth]]</dt> | ||
<dd class="note"> | <dd class="note"> | ||
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 [[ | 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 [[Arma 3: Vehicle in Vehicle Transport|Vehicle in Vehicle Transport]] page. | ||
</dd> | </dd> | ||
</dl> | </dl> |
Revision as of 13:55, 14 August 2022
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:
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
- 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.