Assign Subtitle Panel.

Announcements, support questions, and discussion for the Dialogue System.
Post Reply
megadok
Posts: 54
Joined: Sat Sep 05, 2020 12:04 pm

Assign Subtitle Panel.

Post by megadok »

Hi, I am very new.
I would like to know where I can assign a certain subtitle panel to a specific actor.

Example:
Actor "NPC1": NPC Subtitle Panel.
Actor "Player": PC Subtitle Panel.
Actor "Narrator": Narratos Subtitle Panel.

I use Dialogue Manager Standard.

Thank you very much. :D
User avatar
Tony Li
Posts: 22054
Joined: Thu Jul 18, 2013 1:27 pm

Re: Assign Subtitle Panel.

Post by Tony Li »

Hi,

Thanks for using the Dialogue System! To assign an actor to speak a node, set the node's Actor field:

setNodeActor.png
setNodeActor.png (19.14 KiB) Viewed 326 times

To tell an actor to use a specific panel, add a Dialogue Actor component to the actor's GameObject, and set the Subtitle Panel Number field:

dialogueActorPanel.png
dialogueActorPanel.png (117.09 KiB) Viewed 326 times

If you only want to use a different panel for a single dialogue entry node, include a [panel=#] markup tag in the node's Dialogue Text.

If you want to change panels at runtime, use the SetPanel() sequencer command.
megadok
Posts: 54
Joined: Sat Sep 05, 2020 12:04 pm

Re: Assign Subtitle Panel.

Post by megadok »

Thank you! :D

if in the conversation I have 4 actors and I need each one to have a different assigned panel? Can I add more Dialogue Actor to the same object?

How can I access to the "response menu" through the node([panel=x])? I have verified that it cannot be accessed to this panel.
User avatar
Tony Li
Posts: 22054
Joined: Thu Jul 18, 2013 1:27 pm

Re: Assign Subtitle Panel.

Post by Tony Li »

Hi,
megadok wrote: Mon Sep 14, 2020 11:22 amif in the conversation I have 4 actors and I need each one to have a different assigned panel? Can I add more Dialogue Actor to the same object?
Use a different GameObject for each actor.
megadok wrote: Mon Sep 14, 2020 11:22 amHow can I access to the "response menu" through the node([panel=x])? I have verified that it cannot be accessed to this panel.
That's not supported. Use the SetMenuPanel() sequencer command instead.

Note that you can assign a different menu panel for an actor using their Dialogue Actor component, too.
megadok
Posts: 54
Joined: Sat Sep 05, 2020 12:04 pm

Re: Assign Subtitle Panel.

Post by megadok »

Thank you so much! :mrgreen:
User avatar
Tony Li
Posts: 22054
Joined: Thu Jul 18, 2013 1:27 pm

Re: Assign Subtitle Panel.

Post by Tony Li »

Happy to help!
Post Reply