Page 1 of 1

Toggle Typewriter Effect & Pause Dialogue when in Pause

Posted: Tue Apr 13, 2021 10:29 am
by soniclinkerman
Hey,

Is there a way where when I pause the game, I'm able to pause the dialogue system and typewriter effect?

When I pause, the dialogue continues when I push Z and that's not what I want.

Re: Toggle Typewriter Effect & Pause Dialogue when in Pause

Posted: Tue Apr 13, 2021 11:34 am
by Tony Li

Re: Toggle Typewriter Effect & Pause Dialogue when in Pause

Posted: Tue Apr 13, 2021 11:54 am
by soniclinkerman
Thanks for the wonderful guide. I simply just added

Code: Select all

 PixelCrushers.UIPanel.monitorSelection = true; // Allow dialogue UI to steal back input focus again.
            PixelCrushers.UIButtonKeyTrigger.monitorInput = true; // Re-enable hotkeys.
to when it wasn't paused and

Code: Select all

  PixelCrushers.UIPanel.monitorSelection = false; // Don't allow dialogue UI to steal back input focus.
            PixelCrushers.UIButtonKeyTrigger.monitorInput = false; // Disable hotkeys.
When it IS paused and changed the "Other Settings" to Gameplay and it seems to work! Thank you

Re: Toggle Typewriter Effect & Pause Dialogue when in Pause

Posted: Tue Apr 13, 2021 12:07 pm
by Tony Li
Great! Glad to help.