setFuel: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
mNo edit summary
(add. ArmA2 classification)
Line 40: Line 40:
[[Category:Scripting Commands OFP 1.46|SETFUEL]]
[[Category:Scripting Commands OFP 1.46|SETFUEL]]
[[Category:Scripting Commands ArmA|SETFUEL]]
[[Category:Scripting Commands ArmA|SETFUEL]]
[[Category:Scripting Commands ArmA2|{{uc:{{PAGENAME}}}}]]

Revision as of 17:22, 3 June 2009

Hover & click on the images for description

Description

Description:
Set fuel Percentage from 0 (empty) to 1 (full).
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:
See also needed

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