Airbuspilot Posted October 20, 2023 Report Posted October 20, 2023 Hey John, is it possible, to start two Lua Files at the same Time when pressing one Joystick Button? Both Files are individual and don't depend on the other. Thanks a lot in Advance, Joachim
John Dowson Posted October 20, 2023 Report Posted October 20, 2023 Yes, there are two ways to do this. The easiest way is to assign one to be started on the button press, and the second on the button release. If you want them both assigned on the button press, assign the first one and click ok. Then, open the button assignments panel again, and open your FSUIPC7.ini file in a text editor. Find the line for the assignment you just made to start the first lua, and comment this out by placing a semi-colon after the equals sign. Then, in the button assignments panel, click the 'Reload all buttons' button. You can then assign the button to start the second lua, and click Ok. Open the button assignments panel again, then go back to the editor, reload the updated FSUIPC7.ini file and remove the semi-colon you previously added and save the file. Finally, in the button assignments panel, click 'Reload all buttons' again. You now have multiple assignments to that button. You can no longer edit/change these via the UI, and only one assignment will be shown greyed-out. You can have as many assignments as you want on a button or keystroke using this method. John
Airbuspilot Posted October 20, 2023 Author Report Posted October 20, 2023 Hey John, thanks for the great Explanation. I think, i use the Button Press/Release Option. Joachim
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now