Panel Light Issue and Question

In my plane, I have a panel light 'switch' and a panel light 'potentiometer' dial.  I have found this to cause all interior lighting to 'turn off' when going to outside view mode, then back to inside view mode.  All lights inside the plane turn off.

When turning the potentiometer (dimmer) down, you see the light switch flip to off. Spin the dimmer the other way, it turns on the lights and they slowly brighten, as they should. But go to outside view and back in, they are all off.

I tried using the 'dimmer' name and animation on my panel light 'switch' and turned off (renamed) the dimmer switch, so that now the dimmer would be the only light function, and now it will not even do a mouse rect function. Dead.

Do you have any advice?

Node name; Panel_Light
Animation name; Panel_Light




2
0
Knob_Panel
Knob_Panel
TT:COCKPIT.TOOLTIPS.LIGHTING_KNOB_STBY_IND_DECREASE
TT:COCKPIT.TOOLTIPS.LIGHTING_KNOB_STBY_IND_INCREASE
20



The above template is from the Asobo Cessna Caravan for its dimmer light for aux lights, which is panel lights.  I added node ID and animation name.  This is the non functioning version.

THIS Dimmer works, but turns off all the interior lights;




2
0
LIGHTING_Knob_Panel
LIGHTING_Knob_Panel
TT:COCKPIT.TOOLTIPS.LIGHTING_KNOB_STBY_IND_DECREASE
TT:COCKPIT.TOOLTIPS.LIGHTING_KNOB_STBY_IND_INCREASE
20



Help....!  Help me Obi-Wan Kenobi...  Your my only hope...

Bill Ortis...  of the graying eyebrow, stressed developer people... 
LHC

Solved… RonH did some model surgery on it, and redid some of the code, and
it is now functioning well. I do not know what he did, but its working nicely
now. (Does the Ren and Stimpy ‘happy dance’…) Bill Ortis… of the gray
eyebrow people… at the world famous Lionheart Creations hanger studios…

Hello Bill, Would you mind making a diff on your files and identifying where
the problem was coming from? It would be interesting for people facing the
same kind of problem to know what the issue was. Regards, Sylvain

The issue stems from the interior, exterior functionality of the sim, The more
common parts you have in the interior and exterior gltf file and hence in the
xml parts causes problems. Try to minimize any common parts as much as
possible. The problem seemed to have been that the LIGHTS PANEL ON simvar kept
getting set to false when you went from inside the cockpit to external view.
The animation to turn on the lights remained “ON”, so you had to turn the
lights OFF then back ON again.