Page 1 of 1

Corgi Engine Pause Menu

Posted: Sun Jun 11, 2023 7:40 pm
by Puppii
Hello,

I am using the Dialogue System with the Corgi Engine and I'm having a little bit of an issue with pausing. It's probably something simple I'm missing.
I do have the Dialogue System Corgi Event Listener on my Dialogue Manger in my scene.
If I set "Pause While Talking" on the NPC with the conversation zone, the game does pause when the conversation starts, but the Corgi Engine pause screen shows up behind the conversation (I'm assuming that is working as intended).
So if I uncheck that box on the NPC conversation zone under the Actions tab (Pause While Talking) I get the results I want, but either way I am still able to pause and unpause the game during the conversation. Is there a way to disable pausing and unpausing al together when you are in a conversation?

Re: Corgi Engine Pause Menu

Posted: Sun Jun 11, 2023 9:44 pm
by Tony Li
Hi,

Add a Dialogue System Events component to your player prefab. Configure the OnConversationStart() event to disable the CharacterPause component. Configure OnConversationEnd() to re-enable it.

disableCharacterPause.png
disableCharacterPause.png (19.44 KiB) Viewed 360 times

Re: Corgi Engine Pause Menu

Posted: Sun Jun 11, 2023 10:19 pm
by Puppii
Oh my gosh thank you so much. This is brilliant.

Re: Corgi Engine Pause Menu

Posted: Sun Jun 11, 2023 10:22 pm
by Tony Li
Glad to help!