setFuelCargo: Difference between revisions

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





Revision as of 17:34, 4 May 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