Jump to content

Linda Assign 2 commands in the same Time


Guitou1111

Recommended Posts

Posted

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

Posted

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.

 

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

Posted

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

Archived

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

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