Page 1 of 1

Assign Subtitle Panel.

Posted: Mon Sep 14, 2020 6:36 am
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

Re: Assign Subtitle Panel.

Posted: Mon Sep 14, 2020 9:21 am
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 320 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 320 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.

Re: Assign Subtitle Panel.

Posted: Mon Sep 14, 2020 11:22 am
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.

Re: Assign Subtitle Panel.

Posted: Mon Sep 14, 2020 12:15 pm
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.

Re: Assign Subtitle Panel.

Posted: Mon Sep 14, 2020 12:19 pm
by megadok
Thank you so much! :mrgreen:

Re: Assign Subtitle Panel.

Posted: Mon Sep 14, 2020 12:28 pm
by Tony Li
Happy to help!