MV Face Images according to Class or Switch (RMMV)

So I'm making a game. The main character gets to pick one of three classes. all well and good. But after picking the class his actor images change so that he suits the class. Short of making three different cut scenes every time I want to make a cut scene where the main character speaks, how do I make the face image correspond to his class? I have 8 expressions per class (the same but with different clothes).
I was hoping there was a plugin or some other way I could make it so that the face image can change based on whether or not a switch has been activated.
no, it is much simpler

check the message-type plugins, most of them add more text codes to the show text command - including one that changes the face based on an actor face.

no switch neccessary, the command will adapt to the current face of whatever actor ID used.
This would be fine but would I be able to show the different expressions if it just showed the actors face image? Or wouldn't it just show the one expression?
depends on the plugin - and you would have to use the change actor graphic command anyway to change the expression elsewhere.

I know that in the past several scripts and plugins allowed to change the index of the selected facesheet, but I don't know which current plugin has those options.
And if you need to request a new one, I would suggest using a single variable for the index number instead of multiple switches per actor.
YEP_Message_Core
1678796193637.png


YEP_X_ExtMesPack1
1678796101707.png


  1. Once the class is chosen, you'd Change Actor Images to the face sprite and face you want.
  2. And then every time you display the message you'd do something like this (use sprite for actor 3, use index 4 of that sprite):
Code:
\af[3]\faceindex[4]
\c[6]\N[3]:\c[0] Check this out, face changed to index 4.
That would work perfectly thank you
An alternative, in case YEP Message Core doesn't work out:

Original thread: https://forums.rpgmakerweb.com/threads/face-images-according-to-class-or-switch-rmmv.155800/