Show custom character face ?

Hello, everyone. I need some advise now.


My game allow players to choose one of the six playable characters which have different face, name, etc. But I need to found a way that can only show the player's chosen custom face in dialogue.


For example, when I choose the first character, how can I make the game only show his face in dialogue ?


P/S : It may be a face "version" of show player's custom name. By the way, I'm sorry about my bad English.
In order to allow the player to choose, do you have a single actor in the database, and use the Change Actor Name / Graphic / Class commands to set up the choices, or do you have 6 different actors set up and just add the appropriate one to the party?


I have a script you can use if you only have one actor and use those commands to customize them.
In order to allow the player to choose, do you have a single actor in the database, and use the Change Actor Name / Graphic / Class commands to set up the choices, or do you have 6 different actors set up and just add the appropriate one to the party ?


I have a script you can use if you only have one actor and use those commands to customize them.

Thank you so much for the help. And I'm using only one actor with the commands to change name, grapic, class, etc. By the way, can you give me that script ?
Perfect!  Here is the script.  To use it, just put \f[1] into the text box, where 1 is the id of the actor whose face you want to show

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
  end
end

To do this, you do not need to choose a face when you create the Show Text command - you can leave that blank and put \f[1] and it'll use that face.  Makes it much faster to add your commands as you can skip that face-selection process.
Great ! It work for me. Thank you so much !

Original thread: https://forums.rpgmakerweb.com/threads/show-custom-character-face.58551/