Response Menu Sequence delay

Announcements, support questions, and discussion for the Dialogue System.
User avatar
Tony Li
Posts: 22049
Joined: Thu Jul 18, 2013 1:27 pm

Re: Response Menu Sequence delay

Post by Tony Li »

Hi,

What happens if you put that in the <START> node instead? For example:

Code: Select all

required SetPanel(SCENE_EVENT, 3);
Continue()
fkkcloud
Posts: 298
Joined: Mon Oct 05, 2020 6:00 am

Re: Response Menu Sequence delay

Post by fkkcloud »

Still the same.
I removed the c# code line and just put that in the Start Node as well. no luck.
fkkcloud
Posts: 298
Joined: Mon Oct 05, 2020 6:00 am

Re: Response Menu Sequence delay

Post by fkkcloud »

Any update on this? "bumping!"
User avatar
Tony Li
Posts: 22049
Joined: Thu Jul 18, 2013 1:27 pm

Re: Response Menu Sequence delay

Post by Tony Li »

I will set up an example scene today to try to reproduce the issue.
User avatar
Tony Li
Posts: 22049
Joined: Thu Jul 18, 2013 1:27 pm

Re: Response Menu Sequence delay

Post by Tony Li »

Hi,

Here's a patch:

DS_SetDialoguePanelPatch_2021-01-11.unitypackage

This update will be in version 2.2.15 also.

Explanation: In version 2.2.14, hiding the dialogue UI clears its cache of overridden panel assignments. In this patch and version 2.2.15+, the cache is only cleared when the conversation actually ends.
fkkcloud
Posts: 298
Joined: Mon Oct 05, 2020 6:00 am

Re: Response Menu Sequence delay

Post by fkkcloud »

Thank you so much! Tested it and works now.
User avatar
Tony Li
Posts: 22049
Joined: Thu Jul 18, 2013 1:27 pm

Re: Response Menu Sequence delay

Post by Tony Li »

Glad to help!
fkkcloud
Posts: 298
Joined: Mon Oct 05, 2020 6:00 am

Re: Response Menu Sequence delay

Post by fkkcloud »

There is one problem on this.
It seems like the next node to the player's response menu node that is calling below Sequence Command does does trigger the briefly show/hide the panel only when its Actor is not found in the scene at all.

Code: Select all

HidePanel(1);
SetDialoguePanel(false);
Continue()@2;
required SetDialoguePanel(true)@2;
Basically, the Actor of the next node is a narrator or SCENE_EVENT which is not meant to have any actor/gameObject in the scene because it is plain text node/panel.
1.png
1.png (17.24 KiB) Viewed 1388 times
User avatar
Tony Li
Posts: 22049
Joined: Thu Jul 18, 2013 1:27 pm

Re: Response Menu Sequence delay

Post by Tony Li »

Hi,

Can you please send a reproduction project to tony (at) pixelcrushers.com?
fkkcloud
Posts: 298
Joined: Mon Oct 05, 2020 6:00 am

Re: Response Menu Sequence delay

Post by fkkcloud »

Okay, sent it!
Unity version is 2019.4.17f1 LTS btw.
Post Reply