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 - " +\]" to "]") |
||
(One intermediate revision by the same user not shown) | |||
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]] | ||
}} | }} |
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