Home   Help Search Login Register  

Author Topic: Detect fuel  (Read 526 times)

0 Members and 1 Guest are viewing this topic.

pazuzu

  • Guest
Detect fuel
« on: 27 Apr 2005, 12:45:41 »
How do I detect how much fuel is in a vehicle?

I want to use this for a condition in a trigger.

Thanks.

StonedSoldier

  • Guest
Re:Detect fuel
« Reply #1 on: 27 Apr 2005, 12:57:01 »
fuel vehiclename

eg

condition : fuel tank1 == 0
activation : tank1 sidechat "Damn, wer're out of juice!!"
« Last Edit: 27 Apr 2005, 12:58:38 by StonedSoldier »

pazuzu

  • Guest
Re:Detect fuel
« Reply #2 on: 27 Apr 2005, 20:13:07 »
Thanks for the reply.

I couldn't get that to work but I finally figured it out....

I just looked at a detect dammage line I used & changed it to fuel.

(fuel heli) < .5

So if chopper has only half its fuel it activates the trigger giving a warning.

Thanks again.