Page 1 of 1

Detect playing conversation

Posted: Sun Aug 01, 2021 3:51 pm
by SealDev
1. How to detect a conversation is playing so that I can't open the pause menu?
2. How to temporarily disable Proximity Selector if player pauses game while close to a usable Dialogue Trigger?

Re: Detect playing conversation

Posted: Sun Aug 01, 2021 4:00 pm
by Tony Li
SealDev wrote: Sun Aug 01, 2021 3:51 pm1. How to detect a conversation is playing so that I can't open the pause menu?
Check:

Code: Select all

DialogueManager.isConversationActive
SealDev wrote: Sun Aug 01, 2021 3:51 pm2. How to temporarily disable Proximity Selector if player pauses game while close to a usable Dialogue Trigger?
Just disable the ProximitySelector component. Example:

Code: Select all

FindObjectOfType<ProximitySelector>().enabled = false;

Re: Detect playing conversation

Posted: Sun Aug 01, 2021 4:11 pm
by SealDev
Solved!