NPC and UI

Announcements, support questions, and discussion for the Dialogue System.
Post Reply
DLRyy
Posts: 20
Joined: Fri Aug 12, 2022 12:02 pm

NPC and UI

Post by DLRyy »

The Conversant/NPC portrait doesn't appear in the ones with built-in second portrait images and the wrong NPC actor is showing on the nametag, what could be the reason for this? The articy dialogue plays out normally but NPCs seem to be completely messed up.
DLRyy
Posts: 20
Joined: Fri Aug 12, 2022 12:02 pm

Re: NPC and UI

Post by DLRyy »

Must be the database, it's completely useless. Updating.
The player portrait and dialogue settings are the only active thing.

Now two entities can talk but get this, the NPC and Player ALWAYS switch places in lines and tags, this is just something else.
User avatar
Tony Li
Posts: 22143
Joined: Thu Jul 18, 2013 1:27 pm

Re: NPC and UI

Post by Tony Li »

Hi,

The Dialogue System is more flexible than articy. It lets you use different characters than what you've specified in articy, allowing you to reuse conversations for multiple characters.

Assuming your dialogue in articy involves the player and an NPC, add the player entity to the dialogue node as the first entity. Add the NPC entity as the second entity:

articyParticipants.png
articyParticipants.png (38.62 KiB) Viewed 356 times

In Unity, assign the player GameObject to the Dialogue System Trigger's Conversation Actor and the NPC GameObject to the Conversation Conversant field. These correspond to the first and second entities in the articy dialogue.

dialogueSystemTriggerParticipants.png
dialogueSystemTriggerParticipants.png (32.22 KiB) Viewed 354 times

For a more detailed explanation and other options that demonstrate the flexibility, see:

Character GameObject Assignments
Post Reply