Jump to content
Sign in to follow this  
KingGhidorah

Cessna 310 Landing Lights question (lua script)

Recommended Posts

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.)

Share this post


Link to post
Share on other sites

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.

Share this post


Link to post
Share on other sites

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

Share this post


Link to post
Share on other sites

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!

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...