setFuel: Difference between revisions

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


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


}}
}}

Revision as of 19:15, 22 August 2013

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:
setHitsetAmmo

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