Click on the images for descriptions
- Arma 3
- Returns the fuel amount (between 0 and 1) in the cargo space of a refuelling vehicle.
- getFuelCargo vehicle
- vehicle: Object
- Return Value:
- Example 1:
value = getFuelCargo myVehicleName;
- See also:
- Posted on December 22, 2014 - 17:16 (UTC)
If the vehicle is not alive, it always returns Nothing, which you should check for using isNil.
If the vehicle is unable to carry that type of cargo, it returns -1.#IND, which you should check for using finite.