August 13, 20187 yr 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
August 13, 20187 yr 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. Start your Flt Sim and LINDA with the aircraft you want to program. Identify the functions you wish to combine (ie. A172_StrobeLight_toggle and A172_NavLight_toggle). Open the USER.LUA file in the LINDA editor by clicking on Edit (page header to left of aircraft name). 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
August 14, 20187 yr Author Excellent, Many thanks ScotFlieger, works perfectly Edited August 14, 20187 yr by Guitou1111
August 14, 20187 yr 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.