vehicleCargoEnabled: 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 17: | Line 17: | ||
<sqf>_canTransportVehicles = vehicleCargoEnabled blackfish; //returns true</sqf> | <sqf>_canTransportVehicles = vehicleCargoEnabled blackfish; //returns true</sqf> | ||
|seealso= [[ | |seealso= [[Arma 3: Vehicle in Vehicle Transport| Vehicle in Vehicle Transport ]] [[canVehicleCargo]] [[setVehicleCargo]] [[enableVehicleCargo]] [[getVehicleCargo]] [[isVehicleCargo]] | ||
}} | }} |
Revision as of 13:54, 14 August 2022
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