How I can fix this?
- Code: Select all
setlistener("/instrumentation/altimeter/indicated-altitude-ft", func {
setprop("/instrumentation/altimeter/indicated-altitude-ft-pfd", getprop("/instrumentation/altimeter/indicated-altitude-ft") / 100);
});
- Code: Select all
<text>
<name>osgtext-green</name>
<offsets>
<x-m>0.0010</x-m>
<y-m>0.0553</y-m>
<z-m>0.0002</z-m>
</offsets>
<alignment>right-center</alignment>
<axis-alignment>yz-plane</axis-alignment>
<type type="string">number-value</type>
<format type="string">%3.0f</format>
<property>/instrumentation/altimeter/indicated-altitude-ft-pfd</property>
<truncate type="bool">false</truncate>
<font type="string">helvetica_bold.txf</font>
<draw-text type="bool">true</draw-text>
<draw-alignment type="bool">false</draw-alignment>
<draw-boundingbox type="bool">false</draw-boundingbox>
<character-size>0.007</character-size>
<font-resolution>
<width type="int">32</width>
<height type="int">32</height>
</font-resolution>
</text>