Changing face graphic?

So in my game you can play as multiple people...

but is there anyway to do this, Ex below:

Character 1 interacts with a vase: (shows their face) text: nice vase

Character 2 interacts with a vase: (shows THEIR face) text: horrible vase

so diffrent graphics/ interactions depending on which actor you are?

thank you!

p.s my characters have different personalitys so i need this!!!
Is this based on who is the leader?

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!(/\eL/i) {      $game_message.face_name = $game_party.leader.face_name      $game_message.face_index = $game_party.leader.face_index      ''    }    result  endendPut the above into a new script slot in Materials, and in your Show Text command, add \L to show the leader's face.  You do not need to select a face for the message box when you use this escape code.
simple - just use conditional branch to check which actor is currently accessing the event.


Then you can either use the correct face manually on the show text, or you might have to use one of the messaging scripts to get commands for dynamic faces.


Something as simple as you described should use two different show text commands with manual placed faces, it doesn't need a script (which may add other problems depending on configuration)
Thank you! ^-^
simple - just use conditional branch to check which actor is currently accessing the event.

Then you can either use the correct face manually on the show text, or you might have to use one of the messaging scripts to get commands for dynamic faces.

Something as simple as you described should use two different show text commands with manual placed faces, it doesn't need a script (which may add other problems depending on configuration)
Just ran into a problem, how do i make it  "check which actor is currently accessing the event." I can make a conditional branch and say "alice", if in group,

But how to i make it if "alice" is group leader/ which actpr is selecting it?
Use control variable to get the ID of the member#1 of the party, and check that number in the conditional branch
ahh. i see! Finally its fixed! thank you for the last time ^-^ 🙂
I was having the same problem ^-^ 

Andar, how do you use control variable? I'm kinda new here..... 🙁 Or in simple terms, what do you mean by "Use control variable to get the ID of the member#1 of the party, and check that number in the conditional branch"?
I was having the same problem ^-^ 


Andar, how do you use control variable? I'm kinda new here..... 🙁 Or in simple terms, what do you mean by "Use control variable to get the ID of the member#1 of the party, and check that number in the conditional branch"?
Then I suggest you follow my starting point link, especially to the variables guide, to learn how to use variables - that is one of the most important parts of the engine.
There are hundreds of ways how to use variables - in this case I was talking about the game-data-option of that event command.


If you have any more questions, please make your own topic for it - we like to keep one problem = one topic for searchability


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/changing-face-graphic.45398/