getFuelCargo: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
(Created page with "{{Command|= Comments ____________________________________________________________________________________________ | arma3 |= Game name |0.56|= Game version ____________________...")
 
No edit summary
Line 7: Line 7:
____________________________________________________________________________________________
____________________________________________________________________________________________


| Returns the fuel amount in the cargo space of a refuelling vehicle.  |= Description
| Returns the fuel amount (between 0 and 1) in the cargo space of a refuelling vehicle.  |= Description
____________________________________________________________________________________________
____________________________________________________________________________________________


Line 17: Line 17:




|x1= <code></code>|= EXAMPLE1  
|x1= <code>value = getFuelCargo myVehicleName;</code>|= EXAMPLE1  


____________________________________________________________________________________________
____________________________________________________________________________________________


| |= SEEALSO  
| [[setFuelCargo]] |= SEEALSO  


|  |= MPBEHAVIOUR  
|  |= MPBEHAVIOUR  

Revision as of 15:12, 17 May 2013

Hover & click on the images for description

Description

Description:
Returns the fuel amount (between 0 and 1) in the cargo space of a refuelling vehicle.
Groups:
Uncategorised

Syntax

Syntax:
getFuelCargo vehicle
Parameters:
vehicle: Object
Return Value:
Number

Examples

Example 1:
value = getFuelCargo myVehicleName;

Additional Information

See also:
setFuelCargo

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

Notes

Bottom Section