Conversation between two NPCs

Announcements, support questions, and discussion for the Dialogue System.
Post Reply
Wysu
Posts: 2
Joined: Mon Jun 04, 2018 4:13 am

Conversation between two NPCs

Post by Wysu »

Hi there!

I'm trying to create dialogue between two NPCs. To do this I'm using Bark component, so that every line would be displayed above NPC head. Is there any way to make such sequence with Barks or should I create separate Dialogue UI for this type of conversation?

Thank you for your time. I would appreciate any help :)

Best Regards
Paweł
User avatar
Tony Li
Posts: 22059
Joined: Thu Jul 18, 2013 1:27 pm

Re: Conversation between two NPCs

Post by Tony Li »

Hi Pawel,

Assuming each NPCs has a bark UI, you can add an Override Dialogue UI and Bark Dialogue UI component to one of the NPCs. Assign the Bark Dialogue UI to the Override Dialogue UI's UI field.

When the NPC is involved in a conversation, its Override Dialogue UI component will make the conversation use Bark Dialogue UI. Bark Dialogue UI will redirect each line to the speaker's bark UI.
Wysu
Posts: 2
Joined: Mon Jun 04, 2018 4:13 am

Re: Conversation between two NPCs

Post by Wysu »

Thank you Tony! :)
Post Reply