Anyone have an idea why this relatively simple gauge refuses to work? The needle doesn't move. Aircraft.cfg is set to max_generator_alternator_amps = 150.
<PartInfo>
<Name>needle_amps_150</Name>
<AnimLength>150</AnimLength>
<Animation>
<Parameter>
<Code>(A:ELECTRICAL MASTER BATTERY,bool) 1 == if{ (A:Electrical GenAlt Bus Voltage:1, amps) 150 } els{ 0 } </Code>
<Lag>10</Lag>
</Parameter>
</Animation>
</PartInfo>
Thanks!
Mike
<PartInfo>
<Name>needle_amps_150</Name>
<AnimLength>150</AnimLength>
<Animation>
<Parameter>
<Code>(A:ELECTRICAL MASTER BATTERY,bool) 1 == if{ (A:Electrical GenAlt Bus Voltage:1, amps) 150 } els{ 0 } </Code>
<Lag>10</Lag>
</Parameter>
</Animation>
</PartInfo>
Thanks!
Mike




