Stop Playing Animation
What it does
Freezes an imported model's embedded animation at a chosen point. It is commonly used to prepare a door, gate, or other animated model in its closed pose before Play Animation Once starts it.
Before you start
Use an imported model that includes a playable embedded animation. This effect belongs on that same model item.
Setup
- Select the animated imported model.
- Add Stop Playing Animation to the task state that should hold the model at a pose.
- Choose the point in the animation to stop.
- Test the sequence with the event that later plays the animation.
Settings
| Setting | What it means |
|---|---|
| Point of Animation To Stop | A normalized point in the animation: 0 is the beginning, 1 is the end, and values between them are intermediate points. |
Tiny example
When the room begins, a gate task holds the gate at 0. A player later activates the gate task, which runs Play Animation Once to open it.
Test and troubleshoot
- If the model freezes in an unexpected pose, adjust the stop point a little at a time and preview the full task path.
- If the model never changes, verify that it contains an animation and that both effects belong to the same model item.
- Keep the stop and play effects in a clear sequence so players do not trigger them at the same time.
