- Messages
- 23
- Country

Dear wise programmers,
I have now found out how to make an animation visible only at a specific time (midnight 0:00 to 0:01), but...
...the animation simply loops within this period. But my animation "tells a story" it has a beginning and an end and I do not want to start it somewhere randomly in between (depending on the moment, MSFS has started) and the loop of the animation is in when time comes to 00:00 midnight! I want to start my animation (first frame) at 0:00 and end the "animation storyline" at 0:01.
Who has an idea on how this could be done?
Thanks a lot for any kind of help.
Here my code up to now with the never ending and looping animation:
I have now found out how to make an animation visible only at a specific time (midnight 0:00 to 0:01), but...
...the animation simply loops within this period. But my animation "tells a story" it has a beginning and an end and I do not want to start it somewhere randomly in between (depending on the moment, MSFS has started) and the loop of the animation is in when time comes to 00:00 midnight! I want to start my animation (first frame) at 0:00 and end the "animation storyline" at 0:01.
Who has an idea on how this could be done?
Thanks a lot for any kind of help.
Here my code up to now with the never ending and looping animation:
<?xml version="1.0" encoding="utf-8" ?>
<ModelInfo version="1.1" guid="{c9c287ec-bfec-44ad-6e11-0cda278f610d}">
<LODS>
<LOD MinSize="0" ModelFile="bfd_animation.gltf"/>
</LODS>
<Animation name="animation" guid="1bdbf674-d473-4f56-a0f9-490d95b0aa9e" type="Standard" typeParam="AutoPlay"/>
<AnimGraph>
<DefaultState name="animation"/>
<BlendTreeState name="animation">
<Animations>
<Animation guid="1bdbf674-d473-4f56-a0f9-490d95b0aa9e" speed="1.0"/>
</Animations>
</BlendTreeState>
</AnimGraph>
</ModelInfo>
<ModelBehaviors>
<Include Path="Asobo\Misc\SimObjects.xml"/>
<Component ID="animation" Node="animation">
<Visibility>
<Parameter>
<Code>(E:LOCAL TIME, Seconds) 0 >= (E:LOCAL TIME, Seconds) 60 <= and if{ 1 } els{ 0 }</Code>
</Parameter>
</Visibility>
</Component>
</ModelBehaviors>
Last edited:

