I am currently in the process of coding a fuel panel that includes a "fuel Used" counter which also has a reset button.
The problem I have encountered is when I load the aircraft, the fuel used indicator displays "minus total fuel quantity" & with engines running begins to count down fuel used, when I hit the reset button it does zero & starts counting fuel used as it should.
I would appreciate any help given.
The problem I have encountered is when I load the aircraft, the fuel used indicator displays "minus total fuel quantity" & with engines running begins to count down fuel used, when I hit the reset button it does zero & starts counting fuel used as it should.
Code:
<Element id="Fuel Used Display">
<FloatPosition>436.000,103.000</FloatPosition>
<GaugeText id="GaugeText">
<Bright>True</Bright>
<FontColor>white</FontColor>
<FontFace>ariel</FontFace>
<FontHeight>50</FontHeight>
<GaugeString>%((L:Clear, enum) (A:FUEL TOTAL QUANTITY, gallon) - 6.7 *)%!04d!</GaugeString>
<HorizontalAlign>CENTER</HorizontalAlign>
<Size>100,60</Size>
<Transparent>True</Transparent>
</GaugeText>
</MouseArea>
<MouseArea id="MouseArea">
<FloatPosition>379.000,155.000</FloatPosition>
<Size>60,60</Size>
<CursorType>Hand</CursorType>
<MouseClick id="MouseClick">
<Script> (A:FUEL TOTAL QUANTITY, gallon) (>L:clear,enum)</Script>
</MouseClick>
</MouseArea>
</MouseArea>
I would appreciate any help given.



