OFPEC Forum
Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: pazuzu 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.
-
fuel vehiclename
eg
condition : fuel tank1 == 0
activation : tank1 sidechat "Damn, wer're out of juice!!"
-
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.