MV MOGHunter Battle Hud Faces not turning to "Dead" status sometimes

Hi, I am using the MOGHunter Battle HUD plugin, there is a small hiccup sometimes when it comes to the character's "Dead" face status. On the left is the image of how Dead faces should look, but on the right side is what happens when there is an event such as a speech bubble occurs, or when multiple characters die at once -- the faces do not turn into DEAD!

I have some ideas on how to maybe go about fixing this, and I'm going to lay them out, but I wanted to know if you guys came across similar issues, and if there is a much smarter way than what I'm about to propose:

1. I set up a common event to check if an actor has 0 HP. Then, if that is true, there will be a plugin command to convert the actors face into the Dead Face set...
This would be very tedious, i'd have to put it into every troop, and also would conflict with some other life/death stuff I'd have going on

2. alter the skills that could possibly kill multiple characters at once, and also edit common events to some degree.
Many different ways to kill people, and I'm afraid that this kind of solution isn't all that flexible...

3. Don't do anything to it at all, this rarely seems to happen anyway, and dead is dead.
I'd like for the death state to be visually consistent. It would bug me quite a bit.

That's it, thank you for reading. Would appreciate any kind of solution.
1735356856747.png
1735356809360.png
Hmmm, can you use Yanfly states to put the face change plugin command (or the function call) as an apply effect on the death state?
Hmmm, can you use Yanfly states to put the face change plugin command (or the function call) as an apply effect on the death state?
Thanks for responding! Just last night (well, at 2 am today), my friend was able to clear things up for me and it worked!

Here was the solution, in case anyone ran into the same problem as me or cares:

1. Make a common event with the plugin commands from the MOG_X_BattleHud_MoreFaces (i think it's titled something like that, it's the plugin that gives more functionality to the faces thing. It was edited by BradsterBell a bit so that it works better)

The format for the command was "set bhud_face [Actor ID] [State ID] [Filename]" (the file would be within the battlehud images folder that your other moghunter battlehud faces come from)
1735661212285.png



2. Then, you place

<Custom Apply Effect>
$gameTemp.reserveCommonEvent(place number of common event you made above here)
</Custom Apply Effect>
inside of the "Knockout" state Notetag.
1735661346937.png



And that was it! I've tried it with some more advanced situations / dicey parts as well and it worked well. Thanks to BradsterBell who helped clear this up for me. Hope this thread helps someone in the future as well who also comes across this.

Original thread: https://forums.rpgmakerweb.com/threads/moghunter-battle-hud-faces-not-turning-to-dead-status-sometimes.174221/