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"


Jan

 

 

 

"Beatus ille qui 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.
  • Donation Goals

    AVSIM's 2020 Fundraising Goal

    Donate to our annual general fundraising goal. This donation keeps our doors open and providing you service 24 x 7 x 365. Your donation here helps to pay our bandwidth costs, emergency funding, and other general costs that crop up from time to time. We reset this goal every new year for the following year's goal.


    18%
    $4,540.00 of $25,000.00 Donate Now
×
×
  • Create New...