vehicleCargoEnabled: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "\| *arma3 * * *\| *([0-2]\.[0-9]{2}) * " to "|game1= arma3 |version1= $1 ") |
Lou Montana (talk | contribs) m (Text replacement - " +\]" to "]") |
||
(5 intermediate revisions by the same user not shown) | |||
Line 8: | Line 8: | ||
|descr= Check if the vehicle has enabled transporting other vehicles or not. | |descr= Check if the vehicle has enabled transporting other vehicles or not. | ||
|s1= | |s1= [[vehicleCargoEnabled]] vehicle | ||
|p1= vehicle: [[Object]] | |p1= vehicle: [[Object]] | ||
Line 15: | Line 15: | ||
|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= [[ | |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