Portrait / actor name disapear problme

Announcements, support questions, and discussion for the Dialogue System.
Post Reply
xodn246
Posts: 4
Joined: Tue Aug 06, 2024 3:44 am

Portrait / actor name disapear problme

Post by xodn246 »

If I use multiple NPC actors in a single conversation, Portrait on the canvas is sometimes disabled. This happens even if the actor data is the same.

The red box part of the screenshot is the only difference I found.
Attachments
화면 캡처 2024-08-16 181303.jpg
화면 캡처 2024-08-16 181303.jpg (125.43 KiB) Viewed 681 times
화면 캡처 2024-08-16 181110.jpg
화면 캡처 2024-08-16 181110.jpg (197.04 KiB) Viewed 681 times
User avatar
Tony Li
Posts: 22107
Joined: Thu Jul 18, 2013 1:27 pm

Re: Portrait / actor name disapear problme

Post by Tony Li »

Hello,

The dialogue UI will deactivate the Portrait Image if the actor doesn't have a portrait sprite or portrait texture:

noPortrait.png
noPortrait.png (16.71 KiB) Viewed 656 times
xodn246
Posts: 4
Joined: Tue Aug 06, 2024 3:44 am

Re: Portrait / actor name disapear problme

Post by xodn246 »

I understand if only the portrait is disabled, but the actor's name is also not printed, is this the same reason?

If you want to use a transparent portrait, what would be the best thing to do?
User avatar
Tony Li
Posts: 22107
Joined: Thu Jul 18, 2013 1:27 pm

Re: Portrait / actor name disapear problme

Post by Tony Li »

Hi,

The Dialogue System has a sprite named "transparent" that you can assign to the Actor's portrait sprite.
Post Reply