[Solved]NPC subtitles are skipped after PC response menu.

Announcements, support questions, and discussion for the Dialogue System.
Post Reply
harshad.asawale
Posts: 12
Joined: Wed Jan 30, 2019 1:02 pm

[Solved]NPC subtitles are skipped after PC response menu.

Post by harshad.asawale »

I am facing an issue, where the NPC subtitles are shown and then are moved to the next node in like less than .5 seconds automatically.
Usually, they wait for the user to press the continue button.
But this ONLY happens for NPC subtitles which comes right after PC response menu.
Last edited by harshad.asawale on Fri Feb 01, 2019 3:00 pm, edited 1 time in total.
User avatar
Tony Li
Posts: 22056
Joined: Thu Jul 18, 2013 1:27 pm

Re: NPC subtitles are skipped after PC response menu.

Post by Tony Li »

Hi,

Have you set a continue button mode? (Dialogue Manager's Display Settings > Subtitle Settings > Continue Button)

What is the Dialogue Manager's Camera & Cutscene Settings > Default Sequence?

Temporarily set the Dialogue Manager's Debug Level to Info. This will log a lot of info to the Console window (or output log file if you're playing a build).

In the log, look for for the NPC's line. It will look something like:

Code: Select all

Dialogue System: NPC says '...'
After that line, look for lines that report the sequencer command(s) that are being run. They may give you an idea of what's going on. If not, please post the lines here. I may be able to shed some light on them.
harshad.asawale
Posts: 12
Joined: Wed Jan 30, 2019 1:02 pm

Re: NPC subtitles are skipped after PC response menu.

Post by harshad.asawale »

So this is what I get when the NPC subtitles are skipped before pressing the continue button. (Which only happens for NPC subtitle which comes after PC response menu, otherwise it works fine it waits till the continue button is pressed.)
Sequencer.Play( Delay(0.2333333)@0 )

These are the settings which I am currently using.
dialogueui.PNG
dialogueui.PNG (30.28 KiB) Viewed 819 times
User avatar
Tony Li
Posts: 22056
Joined: Thu Jul 18, 2013 1:27 pm

Re: NPC subtitles are skipped after PC response menu.

Post by Tony Li »

Hi,

It's doing exactly what it's configured to do. Since the continue button is Optional Before Response Menu, the dialogue entry will show the continue button but it will not wait for the player to click it. As soon as its Sequence is done, it will proceed to the response menu.

Your dialogue entry's Dialogue Text is 7 characters long, right? Subtitle Chars Per Second is 30.

Code: Select all

7 / 30 = 0.2333333
If you were to set Min Subtitle Seconds to, say, 2.0, then it would wait at least 2.0 seconds before showing the response menu.

What would you like to happen?

If you want to require the player to click the continue button before showing the response menu, change Subtitle Settings > Continue Button to Always.

If you want to keep the NPC's subtitle visible while the response menu is showing, inspect the dialogue UI's Standard UI Subtitle Panel for the NPC, and change Visibility to Always Once Shown or Until Superceded (anything except for Only During Content).
harshad.asawale
Posts: 12
Joined: Wed Jan 30, 2019 1:02 pm

Re: NPC subtitles are skipped after PC response menu.

Post by harshad.asawale »

Sorry my bad, I had changed those settings to fit different UI style. Forgot to dial it back.
Guess ill override the display settings using the available scripts.
All works fine now. THanks a Lot !!!!
User avatar
Tony Li
Posts: 22056
Joined: Thu Jul 18, 2013 1:27 pm

Re: [Solved]NPC subtitles are skipped after PC response menu.

Post by Tony Li »

Happy to help!
Post Reply