• Guest Please check out the Help Wanted thread in Ickie's NewsHawks.
    The future of the Outhouse depends on you!
    Help Wanted

My own gauge and Units Question.

Hello every body

i should like to know why the unit "percent" do not work with the variable "L"
i have made a full animation :

<PartInfo>
<Name>switch_sparrow</Name>
<AnimLength>100</AnimLength>
<Animation>
<Parameter>
<Code>
(L:switch_sparrow,bool) 50 *
</Code>
</Parameter>
</Animation>
<MouseRect>
<Cursor>Hand</Cursor>
<CallbackCode>(L:switch_sparrow,bool) ! (>L:switch_sparrow,bool) ! (>L:sparrow1,percent) </CallbackCode>
</MouseRect>
</PartInfo>


<PartInfo>
<Name>sparrow1</Name>
<AnimLength>100</AnimLength>
<Animation>
<Parameter>
<Code>
(L:sparrow1,percent) 100 *
</Code>
</Parameter>
</Animation>
</PartInfo>



the sparrow is linked to ghost and ghost must not been visible at the end of the animation ( 95 percent)



<PartInfo>
<Name>ghost</Name>
<Visibility>
<Parameter>
<Code>(L:sparrow1,percent) 95 > if{ 0 } els{ 1 } </Code>
</Parameter>
</Visibility>
</PartInfo>

It's not ok but if the code is :

<PartInfo>
<Name>ghost</Name>
<Visibility>
<Parameter>
<Code>(L:sparrow1,percent) 0 > if{ 0 } els{ 1 } </Code>
</Parameter>
</Visibility>
</PartInfo>

It's ok
ghost is not visible but there is no time.

if this code is for example

<PartInfo>
<Name>ghost</Name>
<Visibility>
<Parameter>
<Code>(A:Turb eng1 CORRECTED N1, percent) 95 >; if{ 0 } els{ 1 } </Code>
</Parameter>
</Visibility>
</PartInfo>


it's ok !
with "A" and "percent" no problem and with "L" my own code it'do not work , if anyone know and can help me ? is it possible to use percent ?Thank you
frown.gif

progress.gif
 
If you click on the Logon button at the very top, I suspect you will be offered the chance to register there.
 
Back
Top