Click on the images for descriptions
- Arma 3
- Returns the amount of repair resources from empty (0) to full (1) in the cargo space of a repair vehicle.
- getRepairCargo vehicle
- vehicle: Object
- Return Value:
- Example 1:
value = getRepairCargo vehicleName;
- See also:
- Posted on December 22, 2014 - 17:17 (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.