Jump to content
Sign in to follow this  
Guest mgipson

Strange problem with a view

Recommended Posts

Guest mgipson

In my panel I have various views, one of which is a captains VFR view. I switch to it in C code by using trigger_key_event(KEY_VIEW_FORWARD_UP, 0);The switching works fine, as it does for the other 3 views. I get a problem after switching to the captains VFR view though. After I switch the aircraft lights get confused and my light switches do not work anymore. MSFS will report back that the landing lights (etc.) are off when in fact they are actually on. I have checked my logic for the lights and it is good and works perfectly if I do not switch to the captains VFR view.Has anybody else seen anything like this? Got any clues as to what the problem could be?Thanks!

Share this post


Link to post
Share on other sites
Guest iholrf

What you want to use is a toggle not a trigger I suspect. With a toggle you close one panel and open another. Then set the views in the panel cfgIn XML its used via PANEL_ID_TOGGLE .. not sure the CNot sure if this is of any help, sorryCheersShad

Share this post


Link to post
Share on other sites
Guest mgipson

I actually just worked out my problem. Somehow I had another copy of my special systems gauge on the cpt vfr panel as well as the main. Switching to the vfr activated 2 copies of my systems, opps!

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...