May 15, 200521 yr Depends what you want to do.As an example 1 (>G:Var1) 1 (>G:Var2)will set G:Var1 and G:Var2 to 1, and this can be expanded to do other stuff.nickhttp://www.fs2x.com/images/fs2x.gif
May 15, 200521 yr Here is an example, also including a boolean test.(A:BRAKE PARKING POSITION,bool)if{ 34013184 (>K:ADF2_COMPLETE_SET) }els{ 34078720 (>K:ADF2_COMPLETE_SET) }0 (>K:PARKING_BRAKES)
May 15, 200521 yr To give a value to an L:variable and toggle,3 (>L:variablename,number) 1 (>K:TOGGLE_ALTERNATOR2)This assigns the value of 3 (for example) to the L:variable. The variable name can be whatever you want. Make sure the same variable name does not exist in other gauges, as L:variables are set the same if in other gauges. This of course can be useful if you require the same variable operating in more than one gauge.Nickhttp://www.fs2x.com/images/fs2x.gif
May 16, 200521 yr Hi Karl, hi Nick,Thanks very much for your help.It works perfectly. Is a very efficient code for this work.I learned a lot this week-end with my XML knowledge, thanks to the gently help I received from this forum people. Regards.Dirk Trotteyn (SANT)
Create an account or sign in to comment