fuel vehicle
Operand types:
vehicle: Object
Type of returned value:
Number
Description:
Check how much fuel is left in the gas tank, in range 0 to 1.
Example:
fuel vehicle player
I wouldn't use the reserved variable FUEL in another
way than it's supposed to be.
OK, if you don't use the reserved var FUEL anywhere else in
your mission, it might make no problems, as you can always
overwrite settings or rules, but there are a few aspects,
speaking against that:
let's say you're using an addon, which is running it's own
embedded scripts, where any events getting started because
of changes to it's FUEL status.
This addon would initialize the scripts, before your fuel truck
gets named.
Now the game refers to the variable FUEL as it's supposed to
be used - as FUEL
Now you come and name your fuel truck: fuel
Now the game still remembers that fuel represents the fuel
status of any vehicle, and the name of your fuel truck would
become ignored.
Same would happen the other way around:
fuel truck is named: fuel
any condition in any trigger/script asks for: fuel vehicle
and the game doesn't know what to do with that condition,
as it would look for the game like: vehicle vehicle
hope this makes sense to you
~S~ CD