Jump to content

Recommended Posts

Posted (edited)

Hi,

I am using FlyWithLua for my own scripting of certain functionalities. I've tried to use the commands "CL650/CDU/1/brt_up" and "CL650/CDU/1/brt_down" from within Lua scripting, but sending these commands does not have any effect at all.

I can, however, assign the CDU brightness control to joystick buttons or keyboard shortcuts from the respective X-Plane configuration UI, and CDU brightness control works.

What could be the issue? Are "CL650/CDU/1/brt_up" and "CL650/CDU/1/brt_down" the correct commands after all? 
I have many other CL650 commands that I use in my scripts, and they work just fine.

Thanks

 

Edited by bpcw0001
Posted
On 4/2/2024 at 7:44 AM, bpcw0001 said:

I am using FlyWithLua for my own scripting of certain functionalities. I've tried to use the commands "CL650/CDU/1/brt_up" and "CL650/CDU/1/brt_down" from within Lua scripting, but sending these commands does not have any effect at all.

At a guess, these commands have to be held down for multiple frames to see any change. They weren't really made to be called from scripts. You can look at using command_begin/end, not command_once, and maybe you can figure out a way to do what you're trying to do (whatever that is).

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...