Page 1 of 1
NPC and UI
Posted: Sun Oct 09, 2022 8:33 pm
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.
Re: NPC and UI
Posted: Sun Oct 09, 2022 8:53 pm
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.
Re: NPC and UI
Posted: Sun Oct 09, 2022 10:06 pm
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 (38.62 KiB) Viewed 321 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 (32.22 KiB) Viewed 319 times
For a more detailed explanation and other options that demonstrate the flexibility, see:
Character GameObject Assignments