setFuel: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
(add. classification)
m (VBS2 scripting category removal)
Line 41: Line 41:
[[Category:Scripting Commands ArmA|SETFUEL]]
[[Category:Scripting Commands ArmA|SETFUEL]]
[[Category:Scripting Commands ArmA2|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands ArmA2|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands VBS2|{{uc:{{PAGENAME}}}}]]

Revision as of 06:17, 19 July 2011

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