Page 1 of 1
Conversation With Multiple NPCS
Posted: Tue Nov 05, 2024 8:47 pm
by MableMM
Hello!
I've been trying to set up a conversation that envolves multiple npcs, but the speech bubble does not correctly change between them, I've set up a example here below.
- Image 1
- Pic.jpg (643.21 KiB) Viewed 84 times
I have 4 npcs + player in a conversation, all the npcs have their respective names both in the actor component and their nodes in the dialogue editor, It gets weirder because when I close my project and re-open the result will be different, on the first Image only 2 of the npcs + the player showed their speech bubble but on the second image after closing and re-opening the project now the third npc recieves his speech bubble but not the 4th.
- Image2
- Pic2.jpg (604.81 KiB) Viewed 84 times
Is this a bug or did I set something wrong?
Re: Conversation With Multiple NPCS
Posted: Tue Nov 05, 2024 9:48 pm
by Tony Li
Hi,
Are the Dialogue Actor components on separate GameObjects? They must be on separate GameObjects.
Re: Conversation With Multiple NPCS
Posted: Wed Nov 06, 2024 8:49 am
by MableMM
Hello!
Each of the characters(game objects) have their own Dialogue Actor component.
Re: Conversation With Multiple NPCS
Posted: Wed Nov 06, 2024 9:00 am
by Tony Li
Hi,
Are they separate in hierarchy (i.e., one Dialogue Actor GameObject isn't a child of another)?
Are there any errors or warnings in the Console window?
Please also review
Character GameObject Assignments to make sure the correct GameObjects are being used.
Also, at any point please feel free to send a
reproduction project to tony (at) pixelcrushers.com if you'd like me to take a look directly.
Re: Conversation With Multiple NPCS
Posted: Wed Nov 06, 2024 9:47 am
by MableMM
Hello!
Yes they all separeted objects.
- Screenshot 2024-11-06 112957.png (2.5 KiB) Viewed 49 times
These are the only warnings I get related to this problem from the console
- Screenshot 2024-11-06 113044.png (20.63 KiB) Viewed 49 times
Acording to the console the conversation shows no problems:
- Screenshot 2024-11-06 113330.png (64.92 KiB) Viewed 49 times
If I can't figure out the problem I'll send a reproduction project thank you.
Re: Conversation With Multiple NPCS
Posted: Wed Nov 06, 2024 10:08 am
by Tony Li
Hi,
Try assigning the Basic Standard Dialogue UI prefab to the Dialogue Manager's Display Settings > Dialogue UI. Then play your scene and test the conversation.
Re: Conversation With Multiple NPCS
Posted: Wed Nov 06, 2024 11:06 am
by MableMM
Hello!
I don't think I have that prefab on my project
- imagem_2024-11-06_130258481.png (7.08 KiB) Viewed 43 times
Maybe it's another name?
I tried Default Dialog UI but that didn't work.
Re: Conversation With Multiple NPCS
Posted: Wed Nov 06, 2024 11:10 am
by Tony Li
You should be able to find it here:
- basicStandardDialogueUI.png (48.1 KiB) Viewed 42 times