MV How to add common event to Armor?

Hello, I'm trying to add common events to armor, to change the actor's sprite. I don't understand script calls very well, but this is what I tried and it didn't work.

Screenshot 2023-05-20 035015.png

Screenshot 2023-05-20 035036.png
Hi there!

By default, you can't attach common events to armors.
Note tags by default are just a note field—a place for you to put text.

Some plugins use that fields to enhance the engine functionality. What you put there will do nothing unless a plugin gets what is in there and uses it.

I'm not aware of a plugin that plays a common event when an actor equips an armor.
But you can try to look at this plugin of mine that lets you play a common event every time you leave the menu.

And, on that common event, you can check what armor the actor is using and apply a different sprite to it.

Need my core plugin to work:
Hi there!

By default, you can't attach common events to armors.
Note tags by default are just a note field—a place for you to put text.

Some plugins use that fields to enhance the engine functionality. What you put there will do nothing unless a plugin gets what is in there and uses it.

I'm not aware of a plugin that plays a common event when an actor equips an armor.
But you can try to look at this plugin of mine that lets you play a common event every time you leave the menu.

And, on that common event, you can check what armor the actor is using and apply a different sprite to it.

Need my core plugin to work:
Thanks I'll check it out. Can it change the SV Battler sprite as well?

*EDIT* Dumb question. I'm sure it would, what I really need is to figure out how to write the sprite checking event. I have the sprite changing common events all working, and I've tested them on items that change the actor sprite.
why would you need to check a sprite in this context?
you just check which actor it is and use the correct sprite for the armor and actor combination
why would you need to check a sprite in this context?
you just check which actor it is and use the correct sprite for the armor and actor combination
I think I need a walkthrough of how I would create this event. I'm a more visual learner lol
Moved to: Plugin Requests
I'm not in front of my computer, but I know I use (or in a previous iteration of my project used) a custom eval on equip plugin. Let me see if I can find it. Should do what you need.

Assuming it was an MV plugin
Thanks I'll check it out. Can it change the SV Battler sprite as well?

*EDIT* Dumb question. I'm sure it would, what I really need is to figure out how to write the sprite checking event. I have the sprite changing common events all working, and I've tested them on items that change the actor sprite.
You don't need to check the sprite. You need to check what armor the actor is using.
And according to that armor, change the actor sprite.

For that you need to explore the conditional branch event command, and maybe also the variable event command.
It is an MV plugin!!!!!




Specifically the "WAY_CustomOnEquipEval".

You're able to set notetags for on Equip and on Remove.


Note: You will also need the "WAY Core"

Original thread: https://forums.rpgmakerweb.com/threads/how-to-add-common-event-to-armor.157662/