Skip to content
View in the app

A better way to browse. Learn more.

The AVSIM Community

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

MSFS2020 and FSUIPC7 - Setting a Variable by LUA Script

Featured Replies

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

Archived

This topic is now archived and is closed to further replies.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.