Jump to content

Recommended Posts

Guest

There is any kind of initialization section in XML gauge? Some section to use for initialize G: variables the first time it load?If not, what is the value of an initialize variable?Thanks

Share this post


Link to post
Share on other sites

You can do this many different ways but some info would be needed for example, is the G:Var you are going to initialize ever going to reach zero while in use? If not an if{ } statement could be used easily.(G:Var1) 0 == if{ INITIALIZE (>G:Var1) }While if it is going to reach zero during operation it must be referenced to another variable(s).(G:Var1) 0 == (G:Var2) 0 == & if{ INITIALIZE (>G:Var1) + 1 (>G:Var2) }This will work easily if all 8 G:Vars are not used in your application, otherwise you would have to reference to an internal FS variable or L:Var. Roman(KGRB)


20AUG21_Avsim_Sig.png?dl=1  FS RTWR   SHRS F-111   JoinFS   Little Navmap 
 

 

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