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.

Cessna 310 Landing Lights question (lua script)

Featured Replies

This last weekend I was setting up a controller's buttons to exclusively handle aircraft lights through FSUIPC. For some I just send the default command through fsuipc, for others a custom keyboard command through fsuipc (like NGX), and for others still, a lua script that sends "ipc.control(xxxxxxx)."

 

I can't get the 3 position landing light switch on the Cessna 310 to toggle via a lua script. I need the xxxxx parameters to send for 1) LL off, 2) LL extended and off, and 3)LL extended and on. Is Fr. Bill around to reveal what commands I might send to be able to set these via my controller? I can't find the L:VAR for the Switch either.

 

(I've got every other light switch working using the purely default fsx/fsuipc toggle commands, only the landing lights remain.)

You know how to and created a LUE script for use with LINDA? Would it be too much to ask if I could get a copy? I know nothing about LUE but use the CRInsight MCP II.

Edward Smoker Sr.

  • Moderator

The C310R uses the variable

(L:SwitchLL,enum)

to control the landing light switch:

 

0 = off

1 = extend

2 = on

Fr. Bill    

AOPA Member: 07141481 AARP Member: 3209010556


     Avsim Board of Directors | Avsim Forums Moderator
  • Author

The C310R uses the variable

(L:SwitchLL,enum)

to control the landing light switch:

 

0 = off

1 = extend

2 = on

 

Thank you very much Fr. Bill!

Create an account or sign in to comment

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.