bpcw0001 Posted April 2 Report Posted April 2 (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 April 2 by bpcw0001 Quote
Pils Posted April 4 Report Posted April 4 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). Quote
bpcw0001 Posted April 4 Author Report Posted April 4 I made it work. For anyone who's interested: it works when using the command phaese command_begin and command_end only, without ever using command_once. Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.