Change pic based on choice highlight?

Hi guys, quick question with a hopefully not so complex answer.


I want to change the displayed picture based on the highlighted choice when the show choices is up.


E.g.


Show Text ("Choose your starting hero")


Show Choices (Harold, Therese, Martha, Lucius)


What I want is, when the highlighted option is over Harold, a picture of Harold is displayed on the background. Then the player presses the down-key and when the Therese option is highlighted, a picture of Therese is show, and so on.


Is there a way to make this without a custom plugin? Thank you for your time.
Nope.  You'd need a plugin.  Let me know if you still want it, and I'll move it to the Plugin Requests forum.


You might be able to do it differently via events, ditching the Show Choices command altogether. Something like this:

Spoiler
Code:
Label: Loop Start

Show Picture 1: Harold
Show Text: Choose Harold?
Show Choices: Yes, No
When [Yes]
  do Harold choice stuff here
  Jumpto Label: Choice Made
When [No]
Branch End

Show Picture 1: Therese
Show Text: Choose Therese?
Show Choices: Yes, No
When [Yes]
  do Therese choice stuff here
  Jumpto Label: Choice Made
When [No]
Branch End

Show Picture 1: Martha
Show Text: Choose Martha?
Show Choices: Yes, No
When [Yes]
  do Martha choice stuff here
  Jumpto Label: Choice Made
When [No]
Branch End

Show Picture 1: Lucius
Show Text: Choose Lucius?
Show Choices: Yes, No
When [Yes]
  do Lucius choice stuff here
  Jumpto Label: Choice Made
When [No]
Branch End

Jumpto Label: Loop Start

Label: Choice Made
do whatever is needed to begin game



You could also ignore the label stuff and use an autorun event instead, and when a choice is made, instead of jumping to a 'choice made' label, turn on a switch that ends the autorun event.
@Shaz, thank you for the event workaround. Guess it will do for the time being, but moving it to plugin request can inspire someone to make it, so I thank you (again) if you can move it.
Actually you inspired me 😉


try this plugin


put pics for character in picture folder with names starting from 0 (e.g  hero num 1 = 0 , hero num 2 = 1 )


make event for choices ( start with switch(30)=on , make choices with hero name , end with switch(30)=off )


i hope i was clear 😉


p.s:  you may wonder why switch(30)?! you can modify plugin with number you wish 

View attachment choice Pic.js
Thank you, @mrcopra, will try it when I get home.
try this one 


i made a simple plugin

View attachment ChoicesBackground.js

Original thread: https://forums.rpgmakerweb.com/threads/change-pic-based-on-choice-highlight.56903/