Jump to content
Sign in to follow this  
phjvh

Panel Toggle

Recommended Posts

Hi All,I need some help with a panel toggle gauge. I have a switch that will toggle up a different panel (normal, instruments, dim, and bright) so each one will change with the lights.However once it has been selected, I have to click it again to turn it off before I can click to the next panel.I would like to be able to terminate the last panel toggled when the new one is selected.Here is the mouse code that works now without the termination installed.Any help will be greatly appreciated.Panel Lights Off(>K:PANEL_LIGHTS_OFF) 0 (>L:Panel Lights,enum) 100 (>K:PANEL_ID_TOGGLE)Panel Instument Lights(>K:PANEL_LIGHTS_OFF) 1 (>L:Panel Lights,enum) 200 (>K:PANEL_ID_TOGGLE)Panel Lights Dim(>K:PANEL_LIGHTS_ON) 2 (>L:Panel Lights,enum) 300 (>K:PANEL_ID_TOGGLE)Panel Lights Bright 2(>K:PANEL_LIGHTS_ON) 3 (>L:Panel Lights,enum) 100 (>K:PANEL_ID_TOGGLE)

Share this post


Link to post
Share on other sites

Hi,You could use:...Ident panel 1 (>K:PANEL_ID_CLOSE) Ident panel 2 (>K:PANEL_ID_OPEN) ...Ident panel 2 (>K:PANEL_ID_CLOSE) Ident panel 1 (>K:PANEL_ID_OPEN) ...etc.Jan"Beatus Ille Procul Negotiis"

Share this post


Link to post
Share on other sites

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
Sign in to follow this  

  • Tom Allensworth,
    Founder of AVSIM Online


  • Flight Simulation's Premier Resource!

    AVSIM is a free service to the flight simulation community. AVSIM is staffed completely by volunteers and all funds donated to AVSIM go directly back to supporting the community. Your donation here helps to pay our bandwidth costs, emergency funding, and other general costs that crop up from time to time. Thank you for your support!

    Click here for more information and to see all donations year to date.
×
×
  • Create New...