Jump to content
Sign in to follow this  
Scud

Need help with a leak?

Recommended Posts

As I said I need a leak an can't get one.

I'm doing this script (which works fine) where the amount of dammage the vehicle has sets a diff type of smoke etc uno small amount with minimal dammage thru to shot down in flames with max dammage.

Anyway, in the fuel leak section besides having abit of smoke out the back I want the fuel tank to spring a leak which will give the pilot something else to think about besides dodging bullets.

I have tried fuel _vehicle and a few others but keep getting err re fuel.

Funny thing is it works on the fuel gauge.

Any1 help me with this.

Quote[/b] ]

_vehicle = _this select 0

_timeburn=0

#main

;?getdammage _vehicle<= 0.3: exit

?getdammage _vehicle>=0.4 : goto "oilsmoke"

~5

goto "main"

exit

#oilsmoke

?getdammage _vehicle>=0.65 : goto "fuelleak"

drop "" "" ""

goto "main"

#fuelleak

?getdammage _vehicle>=0.98 : goto "downinflames"

_fuel = _fuel -.05

_vehicle setfuel _fuel

drop  ""    ""   ""

goto "main"

#downinflames

_timeburn=(_timeburn+1)

drop  ""  ""  ""

?_timeburn>=200:exit

goto "main"

exit

fuel vehicle _vehicle this didn't work either

Share this post


Link to post
Share on other sites

Typical always after posting

_fuel=(fuel vehicle _vehicle)-.05

now it works

Share this post


Link to post
Share on other sites

Nah, its cool now.

Squirts like a fountain

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×