Need help with options for textbox face graphics.

I have two selectable main characters. I've worked out all the issues with that with the exception of face graphics in textboxes. Creating two event pages and using a switch to activate the male character or female character's face graphic for every conversation is the only way I can think of to alternate between the two characters, but that seems rather messy. Is there an easier way, perhaps a script, to deal with this?
I have two selectable main characters. I've worked out all the issues with that with the exception of face graphics in textboxes. Creating two event pages and using a switch to activate the male character or female character's face graphic for every conversation is the only way I can think of to alternate between the two characters, but that seems rather messy. Is there an easier way, perhaps a script, to deal with this?
What engine are you using?
Since he posted in VX Ace support and his profile says he's using VX Ace, I think we're safe to assume he's using Ace 😉

Have ONE actor, not two. When the player selects the gender and whatever else needs to be changed, use the Change Actor Name / Change Actor Graphics / Change Actor Class ... whatever else commands to customize that one actor as necessary.

Then use this script to show the face of the actor:

Code:
class Window_Base < Window  alias shaz_ffa_convert_escape_characters convert_escape_characters  def convert_escape_characters(text)    result = shaz_ffa_convert_escape_characters(text)    result.gsub!(/\eF\[(\d+)\]/i) {      $game_message.face_name = $game_actors[$1.to_i].face_name      $game_message.face_index = $game_actors[$1.to_i].face_index      ''    }    result  endend
and put \f[1] in the text box (don't choose a face at all) to make it show actor 1's face.
I am unworthy of your aid, Shaz-sensei! ;_;
What engine are you using?
Sorry, I thought I was in a different forum. My bad.
Sorry, I thought I was in a different forum. My bad.
Hey, I appreciate the fact that you at least responded!
Hey, I appreciate the fact that you at least responded!
Haha, yeah that would be me procrastinating from what I was doing lol
This thread is being closed, due to being solved. If for some reason you would like this thread re-opened, please report this post and leave a message why. Thank you.

Original thread: https://forums.rpgmakerweb.com/threads/need-help-with-options-for-textbox-face-graphics.31057/