vehicleCargoEnabled

From Bohemia Interactive Community
Jump to: navigation, search
Introduced with Arma 3 version 1.62
  

Click on the images for descriptions

Introduced in

Game:
Arma 3
Version:
1.62

Description

Description:
Check if the vehicle has enabled transporting other vehicles or not.

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 _canTransportVehicles = vehicleCargoEnabled blackfish; //returns true

Additional Information

Multiplayer:
-
See also:
Vehicle in Vehicle Transport canVehicleCargo setVehicleCargo enableVehicleCargo getVehicleCargo isVehicleCargo

Notes

Only post proven facts here. Report bugs on the feedback tracker. Use the talk page or the forums for discussions.
Add New Note | How To

Bottom Section