Jump to content
The simFlight Network Forums

Recommended Posts

Posted

Hi All!!

Is there any way to check, with any programming language, if a user is all set to fly, ( if the user has already chosen an aircraft and a departure point and is now parked)… I cannot find anything related to that, because even when FS is on any menu, I can get values from FSUIPC, but that doesn’t mean that everything is set..

I hope this is clear enough so I can get an answer, sorry my English.

Posted

Is there any way to check, with any programming language, if a user is all set to fly, ( if the user has already chosen an aircraft and a departure point and is now parked)… I cannot find anything related to that, because even when FS is on any menu, I can get values from FSUIPC, but that doesn’t mean that everything is set..

Well, not really. FSUIPC does flag the case of being in a menu (the one you mention), and there's a "ready to fly" flag which is set when the first flight and scenery and so on has been fully loaded, but FSUIPC cannot predict what the user is then going to do. After loading FS and allowing his default flight to load, he may then go into the menu, change his location, his time, his aircraft, almost anything. I don't know of any way of predicting user intentions, sorry.

The ready to fly flag is at offset 3364 (and is FS2004 only), the menu and dialogue flags are in offset 3365. Please read the notes associated with these, which are listed in the table in the Programmer's Guide document, part of the FSUIPC SDK.

These are about the best I can do.

Regards,

Pete

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.