Event text image that is dependent on actor

I was wondering if there was anyway to make it that the image for a "Show Text" is dependent on the actor who activate, for instance

if a player changed the formation to make a character say therese be the lead instead of harold, i would want when therese walk over an

event instead of it displaying harold image it would display therese image.  This would get rid of a lot of work! Ty in advance for your reply!
Only way I know how is in the event set a variable to the party position 1 actor ID  (You should have a junk variable that is never saving anything for more than one event you can use for this similar to if you random a number and use it only once again because it is set each time you talk.)

then a conditional branch with

if variable = 1

harold pic with test

if variable = 2

2nd actor pic with test

if variable = 3

3rd actor pic with test

if variable = 4

4th actor pic with test
I don't really know how to do what you're saying. Could you elaborate on this abit more

Only way I know how is in the event set a variable to the party position 1 actor ID  (You should have a junk variable that is never saving anything for more than one event you can use for this similar to if you random a number and use it only once again because it is set each time you talk.)

then a conditional branch with

if variable = 1

harold pic with test

if variable = 2

2nd actor pic with test

if variable = 3

3rd actor pic with test

if variable = 4

4th actor pic with test
More Escape Codes plugin, shipped with the engine. It may need a tweak to let you specify the leader rather than a specific actor.

Original thread: https://forums.rpgmakerweb.com/threads/event-text-image-that-is-dependent-on-actor.54440/