Page 1 of 1

NPC Subtitle Panel suddenly changed position

Posted: Mon Jul 13, 2020 10:54 am
by sofia_sbr
Hey everyone,

I´m using the Basic Standard Dialogue UI for the Dialogue Manager.
Everything was working fine, when suddenly the NPC Subtitle Panel switched its position from the top of the screen to the bottom of the screen (see image).

Image

I thought it might be because I played around with the camera before - so I quit the application without saving, just to get it back to how it was before.

But even after that, the NPC subtitle panel was still at the bottom of the screen when the player interacts with an NPC to trigger a conversation. Because of that, it ends up also getting covered up by the players dialogue options.

Anybody know why it suddenly did that?

Re: NPC Subtitle Panel suddenly changed position

Posted: Mon Jul 13, 2020 11:22 am
by sofia_sbr
Update: I checked it out some more, and for some weird reason the NPCS lines are shown in the "PC Subtitle Panel" instead of the "NPC Subtitle Panel" - I assume the system thinks the NPC is the player. Still don´t know what caused it to switch though or how to turn it back, so that the NPC lines are displayed again on the "NPC subtitle panel"

Re: NPC Subtitle Panel suddenly changed position

Posted: Mon Jul 13, 2020 1:10 pm
by Tony Li
Hi,

Here are some things to check:

Make sure the NPC actor's Is Player checkbox is UNticked.

If the NPC GameObject has a Dialogue Actor component, set its Dialogue UI Settings > Subtitle Panel Number to Default. It may be set to 1, which is the PC Subtitle Panel.

Inspect the dialogue UI's Standard Dialogue UI component. Make sure NPC Subtitle Panel is assigned to the Subtitle Panels list as Element 0 and Default NPC Subtitle Panel. Make sure PC Subtitle Panel is assigned to the Subtitle Panels list as Element 1 and Default PC Subtitle Panel.

Inspect the conversation. Click blank canvas area to inspect the conversation's properties. Assign the player as the Actor and the NPC as the Conversant.

Inspect the Dialogue System Trigger. Assign the player GameObject to Action > Start Conversation > Conversation Actor and the NPC GameObject to Action > Start Conversation > Conversation Conversant.

Re: NPC Subtitle Panel suddenly changed position

Posted: Tue Jul 14, 2020 5:08 am
by sofia_sbr
Hi Tony,

Thank you for your detailed response!

It worked! I checked the conversation again and it turns out that I forgot to assign the NPC as the main actor and player as conversant at "Start":

Image

Now the NPC lines show up again at the top! Thanks for your help

Re: NPC Subtitle Panel suddenly changed position

Posted: Tue Jul 14, 2020 8:40 am
by Tony Li
Happy to help! :-)