• There seems to be an uptick in Political comments in recent months. Those of us who are long time members of the site know that Political and Religious content has been banned for years. Nothing has changed. Please leave all political and religious comments out of the forums.

    If you recently joined the forums you were not presented with this restriction in the terms of service. This was due to a conversion error when we went from vBulletin to Xenforo. We have updated our terms of service to reflect these corrections.

    Please note any post refering to a politician will be considered political even if it is intended to be humor. Our experience is these topics have a way of dividing the forums and causing deep resentment among members. It is a poison to the community. We appreciate compliance with the rules.

    The Staff of SOH

  • Server side Maintenance is done. We still have an update to the forum software to run but that one will have to wait for a better time.

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