Page 1 of 1

NPCs talking to each other with dialogue bubbles over their heads

Posted: Thu Jun 16, 2022 7:36 pm
by shadyalien
Hello! I'm new here but have been using the dialogue system for a bit now and really love it!

However, I've hit a bit of a problem I'm not sure how to solve. I have two NPCs who I want to carry out a conversation on their own (without any player interaction). I want them to talk to each other in a loop with word bubbles over their heads until the player interrupts them and starts a conversation proper. I have the basic part of it working using the subtitle UI bubble template. I have a trigger volume that kicks off their conversation when the player enters using a Dialogue System Trigger. When the player enters it kicks off their conversation with the word bubbles as it should, however it *also* opens up the default, full screen dialogue UI, which is empty since their dialogue is not set to use it. How can I prevent the default dialogue panel from opening in this instance? It's as though the system is ignoring the overrides I've specified for this conversation.

I should note that I have "allow simultaneous conversations" turned on, and I have the continue button disabled for this conversation specifically. Other conversations use the continue button but this one does not as it runs itself. Has anyone else encountered an issue like this?

Re: NPCs talking to each other with dialogue bubbles over their heads

Posted: Thu Jun 16, 2022 8:38 pm
by Tony Li
Hi,

Add an Override Dialogue UI component to one of the NPCs (the one the player won't interact with), and assign the Basic Standard Dialogue UI prefab. The Dialogue System always opens a dialogue UI in case some participant is told to use it instead of an overhead bubble subtitle panel. The Basic Standard Dialogue UI doesn't have a visible main panel, so it stays out of the way while the overhead bubble conversation plays.

On the Dialogue System Trigger that the player interacts with to interrupt the conversation, tick Actions > Start Conversation > Replace. This checkbox tells the Dialogue System Trigger to stop background conversations first.

Re: NPCs talking to each other with dialogue bubbles over their heads

Posted: Thu Jun 16, 2022 8:43 pm
by shadyalien
That worked! Thanks so much!

Re: NPCs talking to each other with dialogue bubbles over their heads

Posted: Thu Jun 16, 2022 9:53 pm
by Tony Li
Glad to help!