Jump to content
Sign in to follow this  
a350pilot

MSFS2020 and FSUIPC7 - Setting a Variable by LUA Script

Recommended Posts

Hello,

hope, that somebody could help me out with my Problem.
I want to set a Light Potentiometer in the A32NX from FBW.

So, i identified this indexed Variable as an Example.
Glareshield Integral Lights            LIGHT POTENTIOMETER:84       0..100R/WMSFS VAR

Could someone please give a Hint, how to code this in a LUA Script?
I tried it this Way ipc.writeLvar(("L:LIGHT_POTENTIOMETER_SET:84"), 100)
But it didn't work. Any Help is highly appreciated

Thanks a Lot in Advance.
Joachim

Edited by a350pilot

Share this post


Link to post
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
Sign in to follow this  

  • Tom Allensworth,
    Founder of AVSIM Online


  • Flight Simulation's Premier Resource!

    AVSIM is a free service to the flight simulation community. AVSIM is staffed completely by volunteers and all funds donated to AVSIM go directly back to supporting the community. Your donation here helps to pay our bandwidth costs, emergency funding, and other general costs that crop up from time to time. Thank you for your support!

    Click here for more information and to see all donations year to date.
×
×
  • Create New...