Page 1 of 1

Conversation between two NPCs

Posted: Mon Jun 04, 2018 4:26 am
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ł

Re: Conversation between two NPCs

Posted: Mon Jun 04, 2018 8:58 am
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.

Re: Conversation between two NPCs

Posted: Tue Jun 05, 2018 4:56 am
by Wysu
Thank you Tony! :)