State Animations
This script provides some state-related animation effects.
You can have custom animations play before a state is added, or before
a state is removed.
If you want to have state animations playing while the state is applied, you can use Yanfly’s State Animations
Download
Script: download here
Installation
Place this script below Materials and above Main
Usage
Note-tag states with
<add anim: ID> <remove anim: ID>
Where ID is the ID of the animation that you want to play.
Do you think it could play animations for specifics actors when they land a successful ailment?
Like using a formula to determine what animation should be played?
That's a toughie.. I'd say the removal animation shouldn't play at the end of the battle, because if for example you have a bunch of states with a similar effect they would all play at the same time, spawning another potentially unwanted scenario.
Unless the state is removed during battle I think that it shouldn't play the removal animation.
Maybe add an option in the script? If a certain tag exists play don't play at battle end, otherwise do play it.
The script currently clears up any animations that didn't get a chance to play after the battle is over, which will address the bug you reported.
Probably deal with additional possibilities when a need arises.
Perfect. That seems to have done trick, thanks Hime.
Keep it up 🙂
Hi Hime,
There's a bug with your script. Demo: https://dl.dropboxusercontent.com/u/32507073/test.rar
Steps to reproduce:
Do you know how to fix this?
It looks like when the battle ends, it removes the states, but the game doesn't get a chance to play the remove animation.
That queued up animation stays around until the next time it gets to play, which happens to be when you enter another battle.
Should the removal animations play when the battle finishes?