Page 1 of 2

Dialogue and Menu text issue

Posted: Wed Dec 11, 2019 12:47 am
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 1377 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 1377 times

Re: Dialogue and Menu text issue

Posted: Wed Dec 11, 2019 8:32 am
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.

Re: Dialogue and Menu text issue

Posted: Wed Dec 11, 2019 8:30 pm
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 1370 times
My actors are set to "MC" when I want it that way though

Re: Dialogue and Menu text issue

Posted: Wed Dec 11, 2019 8:44 pm
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?

Re: Dialogue and Menu text issue

Posted: Wed Dec 11, 2019 9:11 pm
by Tony Li
SetMenuPanel() takes effect on the actor's next menu (not on the current node).

Re: Dialogue and Menu text issue

Posted: Wed Dec 11, 2019 11:28 pm
by KakimaAkuma
I'll just keep trying different things. Thank you so much

Re: Dialogue and Menu text issue

Posted: Thu Dec 12, 2019 10:51 am
by Tony Li
There may be a bug in SetMenuPanel() in the latest release. I'm investigating now.

Re: Dialogue and Menu text issue

Posted: Thu Dec 12, 2019 1:35 pm
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

Re: Dialogue and Menu text issue

Posted: Thu Dec 12, 2019 5:40 pm
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.

Re: Dialogue and Menu text issue

Posted: Thu Dec 12, 2019 6:52 pm
by Tony Li
I'll check and see if I can work around that restriction so that it doesn't require a GameObject.