Dialogue and Menu text issue

Announcements, support questions, and discussion for the Dialogue System.
KakimaAkuma
Posts: 29
Joined: Mon Sep 09, 2019 9:51 pm

Dialogue and Menu text issue

Post by KakimaAkuma »

https://www.pixelcrushers.com/phpbb/vie ... nse#p14844

I have 2 issues.

Regarding this one, I followed the one in the link but to no avail. It didn't work as expected.

In the 4th node, I added some SetPanel and SetMenuPanel.
1.PNG
1.PNG (4.37 KiB) Viewed 1374 times
I expected that MC's panel and menu panel is not to 5th and 2nd correnspondingly.

Also the Dialogue text doesn't show even when it's the PCs dialogue
2.PNG
2.PNG (5.01 KiB) Viewed 1374 times
User avatar
Tony Li
Posts: 22054
Joined: Thu Jul 18, 2013 1:27 pm

Re: Dialogue and Menu text issue

Post by Tony Li »

Hi,
KakimaAkuma wrote: Wed Dec 11, 2019 12:47 amIn the 4th node, I added some SetPanel and SetMenuPanel.
[image]
I expected that MC's panel and menu panel is not to 5th and 2nd correnspondingly.
The commands in your post tell the conversation to use subtitle panel 5 for MC's subtitles and subtitle panel 2 for MC's menus.

Make sure that your Standard Dialogue UI component's Conversation UI Elements > Subtitle Panels contains at least 6 elements (0 - 5) and that Menus Panels contains at least 3 elements (0 - 2). When it runs, check the Console window for any warnings.
KakimaAkuma wrote: Wed Dec 11, 2019 12:47 amAlso the Dialogue text doesn't show even when it's the PCs dialogue
Inspect the Dialogue Manager GameObject. Make sure Subtitle Settings > Show PC Subtitles During Line is ticked and Skip PC Subtitle After Response Menu is unticked.
KakimaAkuma
Posts: 29
Joined: Mon Sep 09, 2019 9:51 pm

Re: Dialogue and Menu text issue

Post by KakimaAkuma »

Hi,
I've made sure that the Dialogues contain at least 6 items and 2 items respectively, but sadly it still doesn't work. Does it have to do something regarding Actor and Conversant?
3.PNG
3.PNG (35.8 KiB) Viewed 1367 times
My actors are set to "MC" when I want it that way though
KakimaAkuma
Posts: 29
Joined: Mon Sep 09, 2019 9:51 pm

Re: Dialogue and Menu text issue

Post by KakimaAkuma »

It still uses the default "MC" Response Panel.
the SetMenuPanel doesn't work for me. Does it have to be on a difference node sequencer for it to work?
User avatar
Tony Li
Posts: 22054
Joined: Thu Jul 18, 2013 1:27 pm

Re: Dialogue and Menu text issue

Post by Tony Li »

SetMenuPanel() takes effect on the actor's next menu (not on the current node).
KakimaAkuma
Posts: 29
Joined: Mon Sep 09, 2019 9:51 pm

Re: Dialogue and Menu text issue

Post by KakimaAkuma »

I'll just keep trying different things. Thank you so much
User avatar
Tony Li
Posts: 22054
Joined: Thu Jul 18, 2013 1:27 pm

Re: Dialogue and Menu text issue

Post by Tony Li »

There may be a bug in SetMenuPanel() in the latest release. I'm investigating now.
User avatar
Tony Li
Posts: 22054
Joined: Thu Jul 18, 2013 1:27 pm

Re: Dialogue and Menu text issue

Post by Tony Li »

False alarm. No bug. However this is a restriction that's mentioned in the manual but not prominently. SetMenuPanel() works by actor GameObject. Make sure you have a GameObject named "MC" or a Dialogue Actor component set to MC.

Here's an example:

DS_SetMenuPanelExample_2019-12-12.unitypackage
KakimaAkuma
Posts: 29
Joined: Mon Sep 09, 2019 9:51 pm

Re: Dialogue and Menu text issue

Post by KakimaAkuma »

Ohhh now it works. I wonder why the SetPanel() works without having a gameobject with a Dialogue Actor component in the scene while SetMenuPanel() doesn't.
User avatar
Tony Li
Posts: 22054
Joined: Thu Jul 18, 2013 1:27 pm

Re: Dialogue and Menu text issue

Post by Tony Li »

I'll check and see if I can work around that restriction so that it doesn't require a GameObject.
Post Reply