Results 1 to 4 of 4

Thread: Need help with a leak?

  1. #1
    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 Originally Posted by [b
    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&#39;t work either



    Every Day above ground - Is A Good Day

    Old account, now known as CSJ.

  2. #2
    Staff Sergeant
    Join Date
    Jan 28 2002
    Location
    Australia
    Posts
    369
    Author of the Thread
    Typical always after posting
    _fuel=(fuel vehicle _vehicle)-.05
    now it works

  3. #3
    Quote Originally Posted by (Scud @ April 25 2004,23:53)
    As I said I need a leak and can&#39;t get one.
    maybe you should go see a doctor

  4. #4
    Staff Sergeant
    Join Date
    Jan 28 2002
    Location
    Australia
    Posts
    369
    Author of the Thread
    Nah, its cool now.
    Squirts like a fountain

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •