Home   Help Search Login Register  

Author Topic: getFuel ?  (Read 1447 times)

0 Members and 1 Guest are viewing this topic.

Offline bardosy

  • Honoured Contributor
  • ***
  • campaign designer
    • CartooDiv
getFuel ?
« on: 09 Jun 2005, 10:08:04 »
How can I triggered an empty vehicle, when the player refuel it?
I can't finde the function getFuel, just the setFuel...

I want a setObjective "DONE" if the player refuel an Apache.
Fix bayonet!

qqqqqq

  • Guest
Re:getFuel ?
« Reply #1 on: 09 Jun 2005, 11:04:04 »
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

Offline bardosy

  • Honoured Contributor
  • ***
  • campaign designer
    • CartooDiv
Re:getFuel ?
« Reply #2 on: 09 Jun 2005, 11:25:04 »
Thanks! I think I have an older reference...
I updated a new one.

Thanks again!!!
Fix bayonet!