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

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

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