Jump to content

Archived

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

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

Interests: Gauge Programming - 3d Modeling for Milviz

Many Thanks to All That Donated To Our Server Drive!

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

  • 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.
  • Donation Goals

    AVSIM's 2020 Fundraising Goal

    Donate to our annual general fundraising goal. This donation keeps our doors open and providing you service 24 x 7 x 365. Your donation here helps to pay our bandwidth costs, emergency funding, and other general costs that crop up from time to time. We reset this goal every new year for the following year's goal.


    18%
    $4,525.00 of $25,000.00 Donate Now
×
×
  • Create New...