aircraft_ozone
Members +
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
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