Hello,
I'm having an issue where I'm not able to show a conversation between two NPCs where the NPC portrait images are facing each other. Currently, after the first NPC is done talking its portrait is replaced by the second NPC. I believe this is due to how the "StandardUISubtitlePanel" script differentiates between PC & NPC. (I am currently using the Basic Standard Dialogue UI with a few UI modifications)
I would like to have an NPC take over the "PC" section if the player is not in the current conversation node. However, I'm not sure the best way to go about updating this. Any help would be much appreciated!
Portrait issue with multiple NPCs in a conversation
Re: Portrait issue with multiple NPCs in a conversation
Hi,
Add a Dialogue Actor component to the second NPC. Set the Dialogue UI Settings > Subtitle Panel Number dropdown to Panel 1, which is typically the PC Subtitle Panel on the left side of the UI, such as in the Basic Standard Dialogue UI.
Some UIs may be slightly different. For example, if you're using the VN Dialogue UI template, panel 0 has the portrait on the right, panel 1 has the portrait on the left, and panel 2 has the portrait in the middle-right.
Other options:
If you want to show a character in a specific panel for a single dialogue entry node, add "[panel=#]" to the Dialogue Text, where # is the panel number.
If you want to show a character in a specific panel for the remainder of the conversation, use the SetPanel() sequencer command.
Add a Dialogue Actor component to the second NPC. Set the Dialogue UI Settings > Subtitle Panel Number dropdown to Panel 1, which is typically the PC Subtitle Panel on the left side of the UI, such as in the Basic Standard Dialogue UI.
Some UIs may be slightly different. For example, if you're using the VN Dialogue UI template, panel 0 has the portrait on the right, panel 1 has the portrait on the left, and panel 2 has the portrait in the middle-right.
Other options:
If you want to show a character in a specific panel for a single dialogue entry node, add "[panel=#]" to the Dialogue Text, where # is the panel number.
If you want to show a character in a specific panel for the remainder of the conversation, use the SetPanel() sequencer command.
Re: Portrait issue with multiple NPCs in a conversation
Worked perfectly. Thank you!
Re: Portrait issue with multiple NPCs in a conversation
Glad to help!