Page 1 of 1

Display image

Posted: Wed Jul 27, 2022 5:19 pm
by hrohibil
Hey Tony

Any reason why my NPC image is not displayed during conversation?


Re: Display image

Posted: Wed Jul 27, 2022 8:58 pm
by Tony Li
Does your dialogue UI's NPC Subtitle Panel have a Portrait Image? Some dialogue UIs don't use Portrait Images.

Is the conversation using your Wizzard actor? Set the Dialogue Manager's Other Settings > Debug Level to Info. When you play a conversation, make sure the conversant is the Wizzard:

Dialogue System: Starting conversation 'title' with actor=Player and conversant=Wizzard

and make sure the NPC is speaking the line:

Dialogue System: Wizzard says 'some dialogue'

If not, check which GameObject is assigned to the Dialogue System Trigger's Conversation Conversant. It should be the Wizzard. Also check the conversation in the Dialogue Editor. The conversation's Conversant should be Wizzard.

Re: Display image

Posted: Thu Jul 28, 2022 4:09 am
by hrohibil
You were right.
For some reason my UI did not have the portrait image..

Thanks Tony

Re: Display image

Posted: Thu Jul 28, 2022 9:17 am
by Tony Li
Glad to help!