show all avatars during dialogue

Announcements, support questions, and discussion for the Dialogue System.
Post Reply
sentendo
Posts: 15
Joined: Sun Sep 29, 2019 1:38 pm

show all avatars during dialogue

Post by sentendo »

I have a scene and I would like to show always all the avatars of the dialogue, even when they do not speak.
Actually, when it is their turn to speak, I would like to add some animation which make them bigger, for instance.

Where should I start to do that?
User avatar
Tony Li
Posts: 22055
Joined: Thu Jul 18, 2013 1:27 pm

Re: show all avatars during dialogue

Post by Tony Li »

Hi,

If each actor has its own subtitle panel, set the subtitle panel's Visibility to Always From Start. When the conversation starts, the dialogue UI will identify all actors that are assigned to dialogue entries in the conversation. If the actor uses a subtitle panel whose Visibility is set to Always From Start, it will open the panel and show the actor's portrait.

Then assign Focus and Unfocus animations to the subtitle panels to grow and shrink the portrait image. When an actor speaks, its subtitle panel will get focus, and it will play the Focus animation. Examine the Focus Template Standard Dialogue UI prefab to see an example of focus animations. In this prefab, the speaker fades in to 100% opacity and the listener fades out to 50% opacity.
sentendo
Posts: 15
Joined: Sun Sep 29, 2019 1:38 pm

Re: show all avatars during dialogue

Post by sentendo »

great, now it works.
Anyway, the "unfocus" trigger is triggered before of my "tap continue". Can I fix that somehow?
User avatar
Tony Li
Posts: 22055
Joined: Thu Jul 18, 2013 1:27 pm

Re: show all avatars during dialogue

Post by Tony Li »

Hi,

I'm sorry; I don't understand. Can you please provide more details and/or screenshots?
sentendo
Posts: 15
Joined: Sun Sep 29, 2019 1:38 pm

Re: show all avatars during dialogue

Post by sentendo »

Yes of course, I would like to see every character showing their balloons UNTIL the player taps the screen to continue.

Right now, a character shows its balloon:
Image

https://ibb.co/XSVC6Pq

and then it shrinks and the balloon goes out BEFORE the player can tap the screen
Image

https://ibb.co/10RHRp7

This is because the Unfocus Animation Trigger is launched without the user tapping the screen.
Is there any way to solve this?
User avatar
Tony Li
Posts: 22055
Joined: Thu Jul 18, 2013 1:27 pm

Re: show all avatars during dialogue

Post by Tony Li »

Hi,

Please try this: Inspect the Dialogue Manager GameObject, and set Subtitle Settings > Continue Button to Always.
sentendo
Posts: 15
Joined: Sun Sep 29, 2019 1:38 pm

Re: show all avatars during dialogue

Post by sentendo »

Thank you, now it works!

BUT... I have a new problem: the balloon stays but when I tap the screen it unfocuses and I should tap again to see the next screen. Can I place some option to see automatically the next message after I tap the first?
sentendo
Posts: 15
Joined: Sun Sep 29, 2019 1:38 pm

Re: show all avatars during dialogue

Post by sentendo »

I solved, it was just a change in the dialogue. Thank you very much for your help!
User avatar
Tony Li
Posts: 22055
Joined: Thu Jul 18, 2013 1:27 pm

Re: show all avatars during dialogue

Post by Tony Li »

Glad to help!
Post Reply