Page 1 of 1

How can I display multiple actors registered in Conversations in the UI?

Posted: Tue Nov 26, 2024 11:58 am
by yuyuko
I set two objects in the SubTilte Panels of the object to which StandardDialogueUI is attached,
I specified Actor for both Actor and Conversant, but it did not resolve.

Re: How can I display multiple actors registered in Conversations in the UI?

Posted: Tue Nov 26, 2024 2:26 pm
by Tony Li
Hi,

You do not need to specify actors in the StandardDialogueUI's subtitle panels.

Assign your actors in the conversation:

multipleActorsInConversation.png
multipleActorsInConversation.png (49.15 KiB) Viewed 3640 times

The actors will appear in the dialogue UI as appropriate. If the actor's Is Player checkbox is ticked, it will appear in the Default PC Subtitle Panel. If the actor's Is Player checkbox is NOT ticked, it will appear in the Default NPC Subtitle Panel -- unless you have added a Dialogue Actor component to the actor's GameObject. In this case, you can specify a subtitle panel number in the Dialogue Actor component.

Re: How can I display multiple actors registered in Conversations in the UI?

Posted: Wed Nov 27, 2024 8:05 am
by yuyuko
under.png
under.png (12.93 KiB) Viewed 3626 times
Thank you very much.
However, I do not know how to set it up.

How can I have two different names displayed, as shown in the lower right corner?
In my environment it shows the same name.

Re: How can I display multiple actors registered in Conversations in the UI?

Posted: Wed Nov 27, 2024 8:34 am
by Tony Li
Hi,

Add your actors here:

addActors.png
addActors.png (25.22 KiB) Viewed 3622 times

To assign the two primary participants:

assignPrimaryParticipants.png
assignPrimaryParticipants.png (129.66 KiB) Viewed 3622 times

To assign other participants:

assignOtherParticipant.png
assignOtherParticipant.png (73.9 KiB) Viewed 3622 times

Re: How can I display multiple actors registered in Conversations in the UI?

Posted: Wed Nov 27, 2024 11:15 am
by yuyuko
Thank you very much.
However, it was not resolved.

The UI we are using has StandardDialogueUI attached to it and has references to NPC Subtitle Panel and PC Subtitle Panel.
I created three actors “player”, “npc” and “another npc” and only “Player” has the isPlayer checkbox.


Then create a new Coversation in Coversations,
Then, create a new Coversation in Coversations and implement the following three patterns in Actor and Conversant.

Actor:player
Conversant:npc

Actor:npc
Conversant:player

Actor:npc
Conversant:another npc

In all of these cases, no actor is displayed at the same time.


If the actor is an Actor:player, the node will be blue and the PC Subtitle Panel will be active.
If the actor is Actor:npc, the node will be gray and the NPC Subtitle Panel will be active.
However, the PC Subtitle Panel and the NPC Subtitle Panel are never active at the same time, so you will never see two actors at the same time.

Re: How can I display multiple actors registered in Conversations in the UI?

Posted: Wed Nov 27, 2024 3:37 pm
by Tony Li
Hi,

Inspect the subtitle panels and set their Visibility dropdown to Always From Start or Always Once Shown. This will keep the subtitle panel visible even when an actor is speaking through a different subtitle panel.

Re: How can I display multiple actors registered in Conversations in the UI?

Posted: Sat Nov 30, 2024 10:58 am
by yuyuko
Thank you. I have solved this problem.

Re: How can I display multiple actors registered in Conversations in the UI?

Posted: Sat Nov 30, 2024 1:41 pm
by Tony Li
Great! Glad to help.