getRepairCargo: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - " \| *(([^=\| ]+)('''|\[\[)([^=\| ]+)) * \|p1=" to " |s1= $1 |p1=") |
Lou Montana (talk | contribs) m (Text replacement - "</dd> </dl>" to "</dd> </dl>") |
||
Line 29: | Line 29: | ||
If the vehicle is unable to carry that type of cargo, it returns [[Number#Number_Type|-1.#IND]], which you should check for using [[finite]] or [[a_less_b | <]] 0. | If the vehicle is unable to carry that type of cargo, it returns [[Number#Number_Type|-1.#IND]], which you should check for using [[finite]] or [[a_less_b | <]] 0. | ||
</dd> | </dd> | ||
</dl> | </dl> |
Revision as of 16:06, 13 June 2021
Description
- Description:
- Description needed
- Groups:
- Vehicle Inventory
Syntax
- Syntax:
- getRepairCargo vehicle
- Parameters:
- vehicle: Object
- Return Value:
- Number - repair cargo value, -1 if repair cargo is not supported, 0 if the vehicle is !alive or isNull
Examples
- Example 1:
value = getRepairCargo vehicleName;
Additional Information
- See also:
- setRepairCargogetAmmoCargogetFuelCargo
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