messpace Posted April 14, 2016 Report Posted April 14, 2016 Hello all, I've been working on making some lua programs to help me integrate with Aerosoft's A320/21 product, but I've hit kind of a brick wall. I'm stuck on figuring out how to toggle the panel lights in the virtual cockpit using FSUIPC's lua Library. I used GoFlight Interface tool to find the event that does it/ Basically: In GoFlight Interface tool's Detective, in the test box it says: "Send 65750 with 0 (PANEL_LIGHTS_TOGGLE)" and when I click test, it successfully toggles the panel lights. I'd like to recreate this using lua code and FSUIPC. Thanks in advance!
Pete Dowson Posted April 14, 2016 Report Posted April 14, 2016 In GoFlight Interface tool's Detective, in the test box it says: "Send 65750 with 0 (PANEL_LIGHTS_TOGGLE)" and when I click test, it successfully toggles the panel lights. I'd like to recreate this using lua code and FSUIPC. What's wrong with the documented control? I assume you did look at the Lua library document provided in your FSUIPC Documents folder? ipc.control(65750,0) Pete
messpace Posted April 14, 2016 Author Report Posted April 14, 2016 What's wrong with the documented control? I assume you did look at the Lua library document provided in your FSUIPC Documents folder? ipc.control(65750,0) Pete I must have missed this in the Lua Library! Thanks!
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