setFuel: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
No edit summary
mNo edit summary
Line 25: Line 25:
____________________________________________________________________________________________
____________________________________________________________________________________________


| [[setHit]], [[setAmmo]] |= See also
| [[fuel]], [[setHit]], [[setAmmo]] |= See also


}}
}}

Revision as of 13:04, 17 August 2014

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