Jump to content
The simFlight Network Forums

Assign aircraft variable to LVAR and attach to a button


Recommended Posts

Hi I need to assign current aircraft pitch to an LVAR and make that run when i press a button.

The assignment is: 

(A:PLANE PITCH DEGREES, degrees) (>L:var_AP_PitchKnob, number)

Can anyone guide me how to do it?

Link to comment
Share on other sites

Create a preset for this in the myevents.txt file (create this if it doesn't exist), then assign your button to the preset. It is pretty straightforward - why don't you just give it a go?
Read the section Using Calculator Code Presets on page 49 of the Advanced User guide. If you have anu issues, post again and I can help further.


  • Like 1
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.