Character selection and image?

So I made a character selection at the start of the game but not I would like to know how can I make it so the face of said character shows up in the chat box (show text)? The only way I can think of is either adding a variable to the character choices or a switch but then I would have to check for it manually for every single chat box.


If you do know of a simpler way could you explain a bit? Please don't just say "make a variable" as that tells me nothing...



I have plugins from Yanfly only, including his latest Message Extender Pack 1. Had more plugins from other people too but the game was either laggy or crashing so I just uninstalled them all. (I probably put them at the wrong place in the list, but that's not the topic anyway.)

Thanks!
If you use the event command change actor graphic, you can set the actor's face to the one chosen. Then, I think Yanfly has a plug-in that lets you show the faceset assigned to a specific actor in the message box, check for that. Those two steps combined should work.


Otherwise, the only solution I know of is to do what you proposed, which is set a variable to a number which you assign to each face, then check it manually for each chat box, which is, as you have noticed, a lot of work.
If you use the event command change actor graphic, you can set the actor's face to the one chosen. Then, I think Yanfly has a plug-in that lets you show the faceset assigned to a specific actor in the message box, check for that. Those two steps combined should work.


Otherwise, the only solution I know of is to do what you proposed, which is set a variable to a number which you assign to each face, then check it manually for each chat box, which is, as you have noticed, a lot of work.

I was almost right... just had to change one thing and now it works! Thanks! 😀

Somehow Yanfly's plugin was still calling up Harold's Graphics even though it was changed in the menu but with the change actor images command it fixed that!

Original thread: https://forums.rpgmakerweb.com/threads/character-selection-and-image.56199/