Jump to content
The simFlight Network Forums

Recommended Posts

Posted

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!

Posted

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

Posted

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!

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
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use. Guidelines Privacy Policy We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.