setFuelCargo: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
Line 1: Line 1:
[[Category:Scripting Commands|SETFUELCARGO]]
[[Category:Scripting Commands|SETFUELCARGO]]
[[Category:Scripting Commands OFP 1.97|SETFUELCARGO]]
[[Category:Scripting Commands OFP 1.96|SETFUELCARGO]]
[[Category:Scripting Commands OFP 1.46|SETFUELCARGO]]
[[Category:Scripting Commands OFP 1.46|SETFUELCARGO]]
[[Category:Scripting Commands ArmA|SETFUELCARGO]]
[[Category:Scripting Commands ArmA|SETFUELCARGO]]

Revision as of 21:30, 1 June 2006


vehicle setFuelCargo amount


Operand types:

vehicle: Object

amount: Number

Type of returned value:

Nothing

Description:

Set fuel amount in cargo space of refuel vehicle.

Fuel 1 is full gas tank, 0 is empty.


Example:

refuelTruckOne setFuelCargo 0