setFuel

From Bohemia Interactive Community
Revision as of 13:04, 17 August 2014 by SilentSpike (talk | contribs)
Jump to navigation Jump to search
Hover & click on the images for description

Description

Description:
Set fuel percentage from 0 (empty) to 1 (full). The vehicle must be local to the computer where command is executed.
Groups:
Uncategorised

Syntax

Syntax:
vehicle setFuel amount
Parameters:
vehicle: Object
amount: Number
Return Value:
Nothing

Examples

Example 1:
_jeepOne setFuel 0

Additional Information

See also:
fuelsetHitsetAmmo

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