Is it possible to change an event 'Image' when a Actor has a Certain Class?

Hi Everyone,

As the title says, I am trying to change an events 'Image' when a actor has a certain class.

Is this possible to achieve through either eventing or a simple JavaScript?

The idea this is for is when the hero can have multiple forms and when not in the party, can be found wandering around the map. There will be more then one Hero that has mutiple forms as well

Also, by event 'Image' i mean the below circled in red

http://imgur.com/SBwQHyJ

Thanks in advance 🙂
You do not need javascript for this.


Considering the player can only change an actor's class when you use the Change Actor Class command in an event, you know exactly when they change class and what they change to. You can turn switches on/off based on that, and then use those switches in events with multiple event pages to control what sprite is used for the event.


Unless you have some plugin that lets the player change classes from the menu?
Hi Shaz,

Thank you for the reply. I took your approach and used a variable and set that variable based on the heroes class, so when variable 'Hero 1 Form' = 1 then display First Sprite, when 'Hero 1 Form' =2 then display second sprite etc

And currently there are no scripts in my game, it is entirely evented so i don't have a party changing script (Currently)

Thank you for your prompt response with this 🙂

Original thread: https://forums.rpgmakerweb.com/threads/is-it-possible-to-change-an-event-image-when-a-actor-has-a-certain-class.49799/