Continue button complete dialogue first

Announcements, support questions, and discussion for the Dialogue System.
Post Reply
ierin2323
Posts: 10
Joined: Wed Feb 16, 2022 12:32 am

Continue button complete dialogue first

Post by ierin2323 »

I referred to this link.
https://pixelcrushers.com/phpbb/viewtop ... ard#p29700

I tried to follow the instructions,
It usually works.

But sometimes when I press the button repeatedly,
there's a problem with skip.

ex) Dialogue 1 (Pressing the button repeatedly)-> (Dialogue 2 Skipped) -> (Dialogue 3 Skipped) -> Dialogue 4

I wondered if this was a problem with "simulate button down duration", so I increased the value, but it was useless.
Please let me know how to solve the skip problem.
User avatar
Tony Li
Posts: 21981
Joined: Thu Jul 18, 2013 1:27 pm

Re: Continue button complete dialogue first

Post by Tony Li »

Hello,

Are you using just one continue button, or are you using two buttons like in that link? Are you using a StandardUIContinueButtonFastForward component on any buttons?

How are you pressing the button? With the mouse? With the EventSystem's Submit input (e.g., Enter or Space)? With a UI Button Key Trigger hotkey?
ierin2323
Posts: 10
Joined: Wed Feb 16, 2022 12:32 am

Re: Continue button complete dialogue first

Post by ierin2323 »

I use only one button.
And the "StandardUIContinueButonFastForward" component is included in the button.

I press the button using "UIButton KeyTrigger".
Use any keyboard button using "AnyKeyOrButton".




If I press the buttons one by one, it works normally without skipping.





(This is the case when I press the buttons one by one. It's working normally)


(This is the case when I press the button repeatedly. Skips the dialogue.)
User avatar
Tony Li
Posts: 21981
Joined: Thu Jul 18, 2013 1:27 pm

Re: Continue button complete dialogue first

Post by Tony Li »

Hi,

This patch adds a "Block Input Duration" value to Standard UI Subtitle Panel. In your dialogue UI, try setting it to something like 0.1.

Before importing the patch, please back up your project in case it has some dependencies that your version of the Dialogue System doesn't yet have.

DS_SubtitlePanelPatch_2022-02-28.unitypackage
ierin2323
Posts: 10
Joined: Wed Feb 16, 2022 12:32 am

Re: Continue button complete dialogue first

Post by ierin2323 »

Unfortunately, this did not help.
(I have set various values since 0.1.)

Am I the only one experiencing this situation?

If there's no other way,
I'll remove "UIBUTton KeyTrigger"
and I'll make my own components to try solve this situation.
User avatar
Tony Li
Posts: 21981
Joined: Thu Jul 18, 2013 1:27 pm

Re: Continue button complete dialogue first

Post by Tony Li »

Hi,

There was a dependency that your version of the Dialogue System doesn't yet have because it's in the repository for version 2.2.26. If you import this package, "Block Input Duration" should work:

PixelCrushers_UIButtonPatch_2022-02-26.unitypackage
ierin2323
Posts: 10
Joined: Wed Feb 16, 2022 12:32 am

Re: Continue button complete dialogue first

Post by ierin2323 »

First of all, it didn't work again this time.

It could be my problem.

For now, I have simply created component and solved the problem.

I can't see version 2.226 in the package manager right now,
but I will test it again when I updated to version 2.2.26.

Thank you for help.
User avatar
Tony Li
Posts: 21981
Joined: Thu Jul 18, 2013 1:27 pm

Re: Continue button complete dialogue first

Post by Tony Li »

2.2.26 hasn't been released yet. It's the next version coming out soon.
Post Reply