getFuelCargo: Difference between revisions
Jump to navigation
Jump to search
Waffle SS. (talk | contribs) m (global args) |
m (template:command argument fix) |
||
Line 14: | Line 14: | ||
|p1= vehicle: [[Object]] |= Parameter 1 | |p1= vehicle: [[Object]] |= Parameter 1 | ||
| [[Number]] |= | | [[Number]] |RETURNVALUE= | ||
|x1= <code>value = getFuelCargo myVehicleName;</code>|= | |x1= <code>value = getFuelCargo myVehicleName;</code>|EXAMPLE1= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| [[setFuelCargo]], [[getAmmoCargo]], [[getRepairCargo]] |= | | [[setFuelCargo]], [[getAmmoCargo]], [[getRepairCargo]] |SEEALSO= | ||
| |= | | |MPBEHAVIOUR= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
}} | }} |
Revision as of 10:31, 7 April 2019
Description
- Description:
- Returns the fuel amount (between 0 and 1) in the cargo space of a refuelling vehicle.
- Groups:
- Uncategorised
Syntax
Examples
- Example 1:
value = getFuelCargo myVehicleName;
Additional Information
- See also:
- setFuelCargogetAmmoCargogetRepairCargo
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