Speech Box Portrait Change

Started nearly finishing my game where the player can transform other characters. But ran into an issue regarding the speech box. Need the speech box where the name of the character is the same but the portrait has changed. I have been using the speech box system from here - (https://qjzhvmqlzvoo5lqnrvuhmg.on.drv.tw/UInv/Sample_Code.html#Main%20Menu)`
Would appreciate help in this regard. Thanking you in advance.

Looking at the code, it looks like the first parameter of the macro is the class that defines both the appearance of the text box and the avatar, and the second is the name that appears on top of the box. So you could define two different classes for a singe character, e.g. Bob1, Bob2:

<<speech "Bob1" "Bob">>Hi there.<</speech>>

<<speech "Bob2" "Bob">>This is me but with a different portrait.<</speech>>
1 Like

It worked! Thank you so much! :grinning: