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
Help AVSIM continue to serve you!
Please donate today!

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