Page 1 of 1

Dialogue UI flicker in conversation between two NPCs

Posted: Fri May 07, 2021 6:29 pm
by urrmurrmur
Hi,

I have an issue when running a conversation between two NPCs. Whenever a new statement is loaded, the subtitle panel appears to flicker. I assume this is because it is updated twice, once for each NPC. The issue does not appear in a conversation between the player and an NPC.

I made a short video to demonstrate the issue. My Dialogue System configuration settings are also visible in the video, at least the ones that I think are relevant.

Is there any way around this, other than artifically marking one of the NPCs as player?

Re: Dialogue UI flicker in conversation between two NPCs

Posted: Fri May 07, 2021 6:35 pm
by Tony Li
Hi,

Try changing your NPC Subtitle Panel's Visibility dropdown to Always Once Shown or Until Superceded.

Re: Dialogue UI flicker in conversation between two NPCs

Posted: Tue May 11, 2021 4:35 pm
by urrmurrmur
Thanks Tony. Switching it to 'Until Superceded' fixes the flicker, but now the panel stays visible while a PC response menu is showing, which I don't want (and wasn't the case before). I assume there's some combination of Dialogue UI and Dialogue Manager settings that will fix this, but I can't seem to figure it out.

Re: Dialogue UI flicker in conversation between two NPCs

Posted: Tue May 11, 2021 4:42 pm
by Tony Li
Hi,

Try this: Configure the response panel's OnOpen() event to call the subtitle panel's Close() method.

Re: Dialogue UI flicker in conversation between two NPCs

Posted: Wed May 12, 2021 3:20 pm
by urrmurrmur
That did the trick, thanks!

Re: Dialogue UI flicker in conversation between two NPCs

Posted: Wed May 12, 2021 3:51 pm
by Tony Li
Glad to help!