Jump to content
Sign in to follow this  
Guitou1111

Linda Assign 2 commands in the same Time

Recommended Posts

Hello,

I just start to use Linda and try to find a way to assign on a same bouton a dual function.

in exemple, when I switch the button 1, I would like to toogle nav light and strobe in the same time.

Is it something possible? 

Thanks

Share this post


Link to post
Share on other sites

Welcome to LINDA.

Some LINDA functions are written to operate more than one switch when they are groups (ie. landing lights). You can do this yourself with little programming knowledge.

  1. Start your Flt Sim and LINDA with the aircraft you want to program.
  2. Identify the functions you wish to combine (ie. A172_StrobeLight_toggle and A172_NavLight_toggle).
  3. Open the USER.LUA file in the LINDA editor by clicking on Edit (page header to left of aircraft name).
  4. Enter this code in the editor and click Save:

function A172_StrobeNavLights_toggle()

A172_StrobeLight_toggle ()

A172_NavLight_toggle ()

end

NOTE all LUA functions names are case sensitive and must be used as shown with underscores where there are spaces. Add double brackets () after each function name.

If you right click on the new function name it will execute immediately and can be tested without having to assign it to a button/switch.

I hope this explanation helps you and gives you what you are looking for.

 

  • Like 1

Andrew Gransden

Scotland, UK

LINDA Support/Developer - VATSIM and BAVirtual - Airbus Flyer

i7 1TB SSD GTX980 - FSX/P3D - Aerosoft Airbus A318/A319/A320/A321 - FS2Crew

Share this post


Link to post
Share on other sites

Good news. Enjoy using LINDA. 


Andrew Gransden

Scotland, UK

LINDA Support/Developer - VATSIM and BAVirtual - Airbus Flyer

i7 1TB SSD GTX980 - FSX/P3D - Aerosoft Airbus A318/A319/A320/A321 - FS2Crew

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