Jump to content
The simFlight Network Forums

Recommended Posts

Posted

Hello Pete, is there a fsuipc-adress to read some information from the flightplan? special Origin and Destination, Flightnr. 

Thanks best regards

Peter

 

Posted

If you have filed a flight plan, he GPS aircraft destination airport ID is in offset 0x6137. Other than that, I think you would need to get the location of the current flight plan (from offset 0x0130) and parse the file yourself (using lua) to extract the ICAO parameter from the [Departure] and [Arrival] sections.

You may find the origin in the previous waypoint offset (0x6081) if you have a flight plan, as reported here: 

 

John

 

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.