Hey everyone,
Just a quick question, if I may? Can you use multiple udate sections in xml code? or does it have to be done by another route?
example of what i have, but the second update (blue) doesn't seem to work, but works on its own:
Just a quick question, if I may? Can you use multiple udate sections in xml code? or does it have to be done by another route?
example of what i have, but the second update (blue) doesn't seem to work, but works on its own:
Code:
<Update id="Update">
<Frequency>1</Frequency>
<Script>(L:map_ZoomStep, number) 0 == if{
13 (>L:map_ZoomStep, number) @CalculateZoomFactor((L:map_ZoomStep, number)) (>L:map_ZoomFactor, number) }
(L:MapInit) 0 == if{
0 (>L:LayerAirports)
0 (>L:LayerAirspaces)
0 (>L:LayerTerrain)
0 (>L:LayerVORs)
0 (>L:LayerILSs)
0 (>L:LayerNDBs)
0 (>L:LayerLowAirways)
0 (>L:LayerTags)
0 (>L:LayerCompass)
0 (>L:LayerIntersections)
10 (>L:LayerRangeRings)
0 (>L:LayerRangeRings)
7 (>L:VehicleObjectDetail)
25 (>L:Filter)
1 (>L:MapInit)
0 (>L:LayerCompass) }
</Script>
</Update>
[COLOR="Blue"]<Update id="SquawkIdent">
<Script>quit
0 (>C:ITrafficInfo:Filter)
(C:ITrafficInfo:ListSize) (>G:Var1)
(G:Var1) 0 == if{ quit }
(G:Var1) -- (>G:Var1)
:1
(G:Var1) (>C:ITrafficInfo:CurrentVehicle)
(G:Var1) (>C:ITrafficInfo:SelectedVehicle)
(C:ITrafficInfo:S:TRANSPONDER CODE, number) 0 == if{ (C:ITrafficInfo:SelectedVehicleID) (>C:fs9gps:1:SelectedVehicle) }
(G:Var1) -- (>G:Var1)
(G:Var1) -1 == if{ quit }
g1</Script>
</Update>[/COLOR]

