enableVehicleCargo: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - " \{\{GameCategory *\| *arma3 *\| *(New )?Scripting Commands\}\}" to "") |
Lou Montana (talk | contribs) m (Text replacement - " +\]" to "]") |
||
(10 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
{{RV|type=command | {{RV|type=command | ||
| arma3 | |game1= arma3 | ||
|1.62 | |version1= 1.62 | ||
|gr1= Vehicle in Vehicle Transport | |gr1= Vehicle in Vehicle Transport | ||
| Enable/disable option to transport other vehicles (if configured) or be transported. | |descr= Enable/disable option to transport other vehicles (if configured) or be transported. | ||
|s1= | |s1= vehicle [[enableVehicleCargo]] enable | ||
|p1= vehicle: [[Object]] | |p1= vehicle: [[Object]] | ||
|p2= | |p2= enable: [[Boolean]] | ||
|r1= [[Nothing]] | |r1= [[Nothing]] | ||
|x1= | |x1= | ||
< | <sqf>vehicle enableVehicleCargo true;</sqf> | ||
</ | |||
|seealso= [[ | |seealso= [[Arma 3: Vehicle in Vehicle Transport| Vehicle in Vehicle Transport]] [[canVehicleCargo]] [[setVehicleCargo]] [[getVehicleCargo]] [[isVehicleCargo]] [[vehicleCargoEnabled]] | ||
}} | }} | ||
Line 27: | Line 26: | ||
<dt></dt> | <dt></dt> | ||
<dd class="notedate">Posted on | <dd class="notedate">Posted on 2016-06-20 - 06:11 (UTC)</dd> | ||
<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> |
Latest revision as of 18:15, 8 November 2023
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 2016-06-20 - 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.