Corgi Engine Pause Menu

Announcements, support questions, and discussion for the Dialogue System.
Post Reply
Puppii
Posts: 20
Joined: Tue Jun 06, 2023 6:57 pm

Corgi Engine Pause Menu

Post 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?
User avatar
Tony Li
Posts: 22129
Joined: Thu Jul 18, 2013 1:27 pm

Re: Corgi Engine Pause Menu

Post 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 466 times
Puppii
Posts: 20
Joined: Tue Jun 06, 2023 6:57 pm

Re: Corgi Engine Pause Menu

Post by Puppii »

Oh my gosh thank you so much. This is brilliant.
User avatar
Tony Li
Posts: 22129
Joined: Thu Jul 18, 2013 1:27 pm

Re: Corgi Engine Pause Menu

Post by Tony Li »

Glad to help!
Post Reply