Jump to content
The simFlight Network Forums

lua script for stopping autorefueling in FSX?


Recommended Posts

is there anyway to write a lua script to stop the auto refueling in fsx?

 

it would be even cooler if when you park at a refueling spot in fsx to have a menu pop up and allow you to put a percentage of fuel or gallons or whatever...

 

 

 

I'm keeping fuel expenses and some airports have full service... this will be simulated by using the truck or using the menu  and self serve.. which will be the above.

Link to comment
Share on other sites

  • 2 weeks later...

is there anyway to write a lua script to stop the auto refueling in fsx?

 

Is there auto-refuelling? Do you mean when you pull up a GA aircraft to a pump?

 

You could have a Lua program monitoring the fuel quantities and not allowing them to rise, only fall -- i.e. read the values, keeping the previous ones, and when an increase is detected, re-write the previous value.

 

Pete

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use. Guidelines Privacy Policy We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.