Page 1 of 1

[Solved]Displaying conversant's name in a new UI text box

Posted: Wed Nov 11, 2020 10:06 am
by Goerilf4
The default VN UI prefab has three portrait's each containing names and images of a character. I was wondering how to update a new text box that displays the conversants name. In other words a text box that only shows the name of the person currently speaking.

Should I be looking at how to write the conversant lua variable to a StandardUISubtitlePanel script?
Any help is appreciated. :D

Re: [Help] Displaying conversant's name in a new UI text box

Posted: Wed Nov 11, 2020 11:45 am
by Tony Li
Hi,

No need to do any scripting. Remove all but one Portrait Name. Move it outside of the subtitle panel GameObject. Then assign it to all three subtitle panels (or however many subtitle panels you've set up) so they can all share it.

vnSamePortraitName.png
vnSamePortraitName.png (74.69 KiB) Viewed 130 times

Re: [Solved]Displaying conversant's name in a new UI text box

Posted: Wed Nov 11, 2020 11:59 pm
by Goerilf4
Nice! Thank you for the help.

Re: [Solved]Displaying conversant's name in a new UI text box

Posted: Thu Nov 12, 2020 6:59 am
by Tony Li
Happy to help!