Can I set a specific panel for an actor permenently?

Announcements, support questions, and discussion for the Dialogue System.
Post Reply
fkkcloud
Posts: 298
Joined: Mon Oct 05, 2020 6:00 am

Can I set a specific panel for an actor permenently?

Post by fkkcloud »

Hello,

Without doing below three methods,
1. SetPanel("Narrator", 4) in the dialogue node everytime
2. [panel=4] in front of dialogue line for every node
3. Putting a line of code in OnConversationStart's callback, PlaySequence("SetPanel("Narrator", 4)") everytime I start conversation,

Is there a way to just set a specific panel for an actor permanently so I don't have to keep setting it in the game?

Thank you,
User avatar
Tony Li
Posts: 21987
Joined: Thu Jul 18, 2013 1:27 pm

Re: Can I set a specific panel for an actor permenently?

Post by Tony Li »

Hi,

Yes, add a Dialogue Actor to the Narrator's GameObject, and set its Dialogue UI Settings > Subtitle Panel Number. If the Narrator doesn't have a GameObject, create an empty GameObject for it as a child of the Dialogue Manager.
fkkcloud
Posts: 298
Joined: Mon Oct 05, 2020 6:00 am

Re: Can I set a specific panel for an actor permenently?

Post by fkkcloud »

화면 캡처 2021-07-18 145913.jpg
화면 캡처 2021-07-18 145913.jpg (142.12 KiB) Viewed 530 times
Is this the right way to do that?
Basically, what I am expecting to do here is: setting ThoughtBubble actor which does not have any gameObject to panel 2 for the game's every conversation that uses this specific DialogueManager Prefab.
User avatar
Tony Li
Posts: 21987
Joined: Thu Jul 18, 2013 1:27 pm

Re: Can I set a specific panel for an actor permenently?

Post by Tony Li »

Yes. ThoughtBubble will use subtitle panel 2 for all conversations (except any nodes you override with [panel=#] tags).
fkkcloud
Posts: 298
Joined: Mon Oct 05, 2020 6:00 am

Re: Can I set a specific panel for an actor permenently?

Post by fkkcloud »

awesome!~
Post Reply