Jump to content

How do you clear the master W/C from lua?


antonioe
 Share

Recommended Posts

I am slowly adapting my five-screen sim (triple 65" Oled outside displays, Brunner yoke/rudder, etc) to the TBM900.  I started by creating the Master Warning/Clear light/button on AirManager.  The "tbm900/lights/cas/master_warn" (and corresponding "_caut") datarefs described in the "DataRefs+Commands.txt" file that came with the package work like a charm, but the "sim/annunciator/clear_master_warning" (or the corresponding "_caution") COMMAND does not seem to do anything.  Is there perhaps a "tbm900/switches" family of commands that will clear the W/C annunciations?

Interestingly, if you bind a keystroke to "Indicators>Clear master warning" in the keyboard options settings tab and press that key, THAT works...!  Can you "press a key" in lua?

Looks like an X-Plane problem?  Has anyone been successful clearing the master warning from lua?

Thanks,

Antonio

logic.lua

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

  • Recently Browsing   0 members

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