Is possible to use 2 animations for 1 skill?

Basically, I have a party of 3 members (A, B, C). One of them has a 'Hide' skill, which shows an animation of him hiding behind another character (C hides behind A). What I want to do is, that if this character A is knocked out, play an animation where he hides behind character B instead. Is there any way to make it?
Go to Database >> Common Events.
Name a Common Event "HideHandler"
Event it to play different animation using a simple conditional branch.

You open the database and go to... Skills >> Effects >> Other >> Common Event.
You call the common event you made.
Go to Database >> Common Events.
Name a Common Event "HideHandler"
Event it to play different animation using a simple conditional branch.

You open the database and go to... Skills >> Effects >> Other >> Common Event.
You call the common event you made.
When I make the common event, using the 'show animation' from the 'player' command doesn't work (doesn't show any animation when the skill is used in combat), and if I use the 'display battle animation' in the 'Battle' tab, it shows the animation in the middle of the enemy's attack. Should I search a script for this?
This cannot be done using the editor.
Moved to: RGSS3 Script Requests
This is the only script I know which does this. It works extremely well, I have used it a lot.
https://www.rpgmakercentral.com/topic/25250-theo-multiple-animations-display/
what battle system are you using?
This can help you I think.
https://victorenginescripts.wordpress.com/rpg-maker-vx-ace/animations-settings/
Thanks for your responses. I managed to find my way around it. I set the skill to call a common event where I basically checked A's HP. And made a conditional where if A's HP was above 0, use a skill with the first animation (C hiding behind A). If A's HP was equal to 0, use other skill with the second animation (C hiding behind B ).
I was going to say, if you were using the stock system, that *that* is probably *the* one way to do it.
no need to reinvent the wheel here.

Original thread: https://forums.rpgmakerweb.com/threads/is-possible-to-use-2-animations-for-1-skill.94953/