Jump to content
Sign in to follow this  
E

TIP: XML Variables and WindowMode switching.

Recommended Posts

Another one of my XML problems solved !!When FS2004 is running and the user switches from WindowedMode to FullScreenMode (or vice versa):- G:Vars are reset to 0.- L:Vars are NOT (so they keep their value).So if you use vars to maintain things like e.g. gauge states, ONLY use L:Vars.Hope this helps :-)Cheers, Rob Barendregt

Share this post


Link to post
Share on other sites

Hi Rob,Totally confirmed! I came across this oddity some time ago,while programming a bunch of speed bugs; and left the problem aside just to ask on this forum whenever I resume working on that gauge. As a result, I started to use Gvars only as boolean controls within the same cycle.CheersTom

Share this post


Link to post
Share on other sites
Guest Skymed

Great Stuff RobSteve

Share this post


Link to post
Share on other sites

EXCELLENT tip/info! Oh the frustrations solved with that one Rob!

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