D
Deleted member 1281
Guest
Here you go, then, purely playful stuff for concept testing. Note, have reduced anim length to 50, kept some of your vars, made some assignments and logic, introduced a new var that holds the animation, which is trivial. Forgive me for being sparing with the indentations. The explanation for the final "reminder" line can be found in this thread https://www.fsdeveloper.com/forum/threads/why-wont-this-rotate.444116/post-810600
Code:
<Animation name="Pelicandrome_Guidage_anim1" guid="994959c3-90d4-4f94-b229-8ef5ba9d5c91" length="50" type="Sim" typeParam2="Pelicandrome_Guidage_anim1" typeParam="AutoPlay" />
<PartInfo>
<Name>Pelicandrome_Guidage_anim1</Name>
<AnimLength>50</AnimLength>
<Animation><Parameter>
<Code>
(L:Peli_Timer, number) 0 >= if{ (L:Peli_CurrentStatus, number) ++ (>L:Peli_CurrentStatus, number) }
(L:Peli_CurrentStatus, number) 300 > if{ 50 (>L:animcheck,enum) }
els{ (L:Peli_CurrentStatus, number) 200 > if{ 25 (>L:animcheck,enum) }
els{ (L:Peli_CurrentStatus, number) 100 > if{ 10 (>L:animcheck,enum) } } }
(L:animcheck,enum) d
</Code>
</Parameter></Animation></PartInfo>
Last edited by a moderator:


