vehicleCargoEnabled: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "|mp= - |Multiplayer Behaviour= " to "") |
Lou Montana (talk | contribs) m (Text replacement - " +\]" to "]") |
||
(23 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
{{ | {{RV|type=command | ||
| arma3 | | |game1= arma3 | ||
|version1= 1.62 | |||
| | |gr1= Vehicle in Vehicle Transport | ||
| | |descr= Check if the vehicle has enabled transporting other vehicles or not. | ||
| | |s1= [[vehicleCargoEnabled]] vehicle | ||
| [[Boolean]] - returns true if the vehicle has enabled transporting other vehicles, and false if the vehicle has not enabled transporting other vehicles | |p1= vehicle: [[Object]] | ||
|r1= [[Boolean]] - returns true if the vehicle has enabled transporting other vehicles, and false if the vehicle has not enabled transporting other vehicles | |||
|x1= Blackfish (Vehicle Transport) with given variable name blackfish | |x1= Blackfish (Vehicle Transport) with given variable name blackfish | ||
< | <sqf>_canTransportVehicles = vehicleCargoEnabled blackfish; //returns true</sqf> | ||
</ | |||
|seealso= [[Arma 3: Vehicle in Vehicle Transport| Vehicle in Vehicle Transport]] [[canVehicleCargo]] [[setVehicleCargo]] [[enableVehicleCargo]] [[getVehicleCargo]] [[isVehicleCargo]] | |||
}} | }} | ||
Latest revision as of 18:15, 8 November 2023
Description
- Description:
- Check if the vehicle has enabled transporting other vehicles or not.
- Groups:
- Vehicle in Vehicle Transport
Syntax
- Syntax:
- vehicleCargoEnabled vehicle
- Parameters:
- vehicle: Object
- Return Value:
- Boolean - returns true if the vehicle has enabled transporting other vehicles, and false if the vehicle has not enabled transporting other vehicles
Examples
- Example 1:
- Blackfish (Vehicle Transport) with given variable name blackfish
Additional Information
- See also:
- Vehicle in Vehicle Transport canVehicleCargo setVehicleCargo enableVehicleCargo getVehicleCargo isVehicleCargo
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