Jump to content
The simFlight Network Forums

Read tailwheel lock status? P3D V5


kaha

Recommended Posts

Hello,

as there is no offset location for this and no L:Var for the aeroplane I want to control (Just Flights C-46) and also no K:Var in P3D, I assume that getting this variable is only possible by reading the "TAILWHEEL LOCK ON" boolean from simconnect in a lua script?

Has anyone done it yet? That would save me some time and be very much appreciated. I'm on P3D V5.1HF1.

 

Thank you for your help,

Karl

Link to comment
Share on other sites

I've moved your question from the FAQ subforum ,where is clearly states "Not for support requests" so it can be answered!

On 12/19/2020 at 11:42 AM, kaha said:

as there is no offset location for this and no L:Var for the aeroplane I want to control (Just Flights C-46) and also no K:Var in P3D, I assume that getting this variable is only possible by reading the "TAILWHEEL LOCK ON" boolean from simconnect in a lua script?

Why do you say there is no offset for this? Check offset 0x2A90. That is the documented offset recording the value of "TAILWHEEL LOCK ON"!

Pete

 

Link to comment
Share on other sites

Thank you for moving my topic, Pete.

Of course you are right. I'm sorry, I did not consult the latest documentation. Instead I looked into a file called "FSUIPC for Programmers.pdf" located in the FSUIPC6/SDK folder. 

Knowing about 0x2A90 I can now go on.

Karl

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.