Dialogic interact component doesn't pause #354
-
Hello, Basically, I'm trying to make a small script that run after some kind of event like a keypad unlocked, running Dialogic the same way you do, with pausing the game and everything. is there something I'm missing? I'm running this as code:
I feel like I'm missing something |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments
-
And I tried with other interact components, the same issue seems to be happening. So I'm definitely missing something, but I don't see it in the documentations |
Beta Was this translation helpful? Give feedback.
-
Hey @zivivi32 , The easiest way for you to proceed would be to just use the included DialogicInteraction component, but not with a interaction but instead calling it with a signal. Do as follows:
With "the game pauses", I assume you mean that the player movement stops and instead the mouse appears? To get this to work yourself in code, you need to get the player to emit the |
Beta Was this translation helpful? Give feedback.
-
Yeah! It was indeed the toggle interface I was looking for. I just tried what you suggested, and it worked! Thanks for replying so fast man! |
Beta Was this translation helpful? Give feedback.
Hey @zivivi32 ,
The easiest way for you to proceed would be to just use the included DialogicInteraction component, but not with a interaction but instead calling it with a signal. Do as follows:
start_dialogue()
function of that component and it will work as expected. For example you can use thecorrect_code_entered
signal of a keypad to start a dialogue this way.With…