Help with animation during battle/Yanfly battlecore

So, I'm looking for a way to show animations during battle.
I know that sounds like what we've already got, but bear with me;

1. What I'm looking for is a way to show a animation on a specific party member during a mid-battle cutscene that triggers after all the party members have been KO'ed.
How it works is that it's a boss battle and it's got to a point where the characters are all shown having been defeated. They're all despairing, etc, etc. Then a light shines on one of the party members and they all get a second wind, and finish the boss off.

I've got it all working functionally, but the animations aren't quite working properly. See, I want the shining light animation to play on the party member without the party member doing anything. I want them to stay in their damaged pose while the light shines on them. I don't want the casting animation, I don't want them to move forward, nothing. I just want them to stay still.

What I've got at the moment is a Force Action command on that actor, so that animation plays on that specific actor. But they obviously move forward to cast the animation, which isn't what I want. The whole point is narratively it's supposed to be an outside source casting the skill on the actor, not the actor itself.

The Show Animation command doesn't work, because it only applies to map events. And Show Battle Animation doesn't work either, because it only targets enemies (not to mention it doesn't show the animation on the actual enemy, but in the middle of the screen).

2. I also want a way to temporarily disable the Actor HUD during the cutscene. See, to make this work, at the start of the cutscene, I had to add an event to add +1 HP to the actor because otherwise they couldn't do the action. Because they'd be, you know, dead. But it causes the HUD to flash up onto the screen before the cutscene takes over, which is a bit irritating.
It's not as big a priority as the animation issue, but if there's a way to stop it, that'd be great.

Are plugins there for this that aren't one of Yanfly's plugins? I've tried using them and they're powerful, but they don't play nice with the plugins I've already got.
I tried activating the BattleCore plugin and got the 'cmd.isVisible is not a function' error as soon as a battle started. It went away when I disabled all my other plugins, but I do need those as well.

So is there a way to achieve this without Yanfly, or a way to fix that error I've been getting? It would be nice to be able to use Yanfly's stuff, but not if it comes at the cost of my other plugins.
What engine are you using? Your profile "Primarily Uses" says "N/A," which is supremely unhelpful; and you posted this in MZ support, but you repeatedly reference Yanfly plugins which are written for RPG Maker MV and don't function natively in MZ.

What I'm looking for is a way to show a animation on a specific party member during a mid-battle cutscene that triggers after all the party members have been KO'ed.
Use HimeWorks' End Phase Triggers (works for both engines) and make a troop event with the condition of all actors being at <= 0 HP, and has the Script event command to play the animation on the appropriate actor:
Code:
$gameActors.actor(x).startAnimation(y);
where x is the ID of the actor and y the ID of the animation. No leading zeros should be used on IDs.
This is what I got when I tried putting that in and the event page was supposed to trigger:

TypeError
$gameActors.actor(...).startAnimation is not a function

This is the script I put in:

$gameActors.actor(16).startAnimation(40);

Same result, with or without the zeroes.

I also tried using the actual names of the actors and animations, and got Reference error message instead.

I actually did already have himeworks plugin installed, it's what I used to trigger the whole sequence. That part's obviously working, since it didn't just simply go to defeat processing and tried to call the event.

Since it wasn't clear, my engine is MZ. The Yanfly plugins I've got were made for MZ, this is the page I found the battlecore one, but i have the core engine as well as a whole bunch of other MZ ones:
You can use this I think?

Note that the MZ version is Visustella Battle Core. The two are not the same.

1719207789844.png
You can use this I think?

Note that the MZ version is Visustella Battle Core. The two are not the same.

View attachment 309368
That does work, but the trouble is that it crashes whenever I enable any non-Yanfly plugins, or else doesn't let them function.
I do need those other plugins, so if there was a way to achieve this without Yanfly, that would be ideal, since it seems it does best when it has a game of it's own.

This is the page I got it from:
I've reread your original post's issue 1 (and 2) and I cannot decipher what plugin is conflicting with Visustella Battle Core in your case. But if you are simply looking for Visustella alternatives, you could for example try this one:


Requires PluginCommonBase.js btw (official launch plugin, should be in RPG Maker MZ\dlc\BasicResources\plugins\official)

If that isn't a fit for you, just google "Visustella alternatives" or something.
I've reread your original post's issue 1 (and 2) and I cannot decipher what plugin is conflicting with Visustella Battle Core in your case. But if you are simply looking for Visustella alternatives, you could for example try this one:


Requires PluginCommonBase.js btw (official launch plugin, should be in RPG Maker MZ\dlc\BasicResources\plugins\official)

If that isn't a fit for you, just google "Visustella alternatives" or something.
Hey, that works! Nice.

I worked out the position issue as well. Found the box in the animations tab where you can select centre of screen or target, and decide the offset.

I would like to make a game with VS's stuff, but I'm too far into this project to start over now. I guess next time.
This is my full plugin list now, and their order (excluding VS):

  1. PluginCommonBase
  2. Enemy Actor (to show animated sv_actor sprites for enemies)
  3. Theo_AlwaysHitButNotCertain
  4. HIME_EndPhaseTrigger
  5. GALV_LayerGraphicsMZ
  6. HIME_ActorBattleCommands
  7. CGMZ_Core
  8. CGMZ_Encyclopedia
  9. CGMZ_MenuCommandWindow
  10. THEO_EnemyHPGauge
  11. Community_Lighting_MZ
  12. BattleAnimationPlus
Very nice! The VS plugins are a double-edged sword... they're quite nice but you're kind of committing yourself to the VS ecosystem.
TypeError
$gameActors.actor(...).startAnimation is not a function
Sorry, I accidentally provided the script call for showing an animation on the map.

In battle, it's
Code:
$gameTemp.requestAnimation(targets, ID, mirror);
so you'd do
Code:
$gameTemp.requestAnimation([$gameActors.actor(16)], 40, true);

The Yanfly plugins I've got were made for MZ
It looks like @werzaque already sorted you out, but if you look at the page you linked to, that plugin is written by (and named) VisuStella:
1719234726716.png

1719234593925.png

1719234636875.png


It having documentation hosted on Yanfly's Web site doesn't mean it's his plugin any more than me posting my material here means they're RPGMakerWeb plugins 😉

Original thread: https://forums.rpgmakerweb.com/threads/help-with-animation-during-battle-yanfly-battlecore.169743/