Change actor image when unarmed

I created a special sv battler sheet for one of my characters for when he's unarmed. He's got a big scorpion tail so whenever he's unarmed, he attacks with that instead of the standard thrust motion. But I also want him to be able to use the thrust, swing, and missile motions.


I tried eventing it, but the conditional branch can only check for specific weapons and I really don't want to event it for every single weapon he might use.


I was also thinking of creating an "unarmed" state but that still requires an if statement to check if he has a weapon or not.


How do I do this?
I made a small plugin for my game where a character's main battler sheet is for when unnarmed, and they use a different one for each weapon. If you want I could adapt it for you.
That would be awesome. Thank you!
I made it quickly and didn't test, see if it works:


View attachment UnnarmedBattlerChange.js
What do I put in the "Battler Unarmed" parameter?
the name of the battler for when the character is unnarmed


[edit] just noticed that since it is an edit of my plugin I didn't make the maker not remove the battler when you set it to remove unused files...
Works like a charm! Thank you!!!


For future reference, can I use more than one instance of this?


RESPONSE TO YOUR EDIT: Is that an easy fix? I could just make a note and add it back in after deployment. Or reference it somewhere else in the game.
No, you'll need to change the plugin to add more characters... I edited it quickly because you only mentioned one.


View attachment UnnarmedBattlerChange.js
Okay, cool. Thanks again!

Original thread: https://forums.rpgmakerweb.com/threads/change-actor-image-when-unarmed.70266/