DialogueSystemEvents not firing...?
Posted: Fri Jun 09, 2023 11:44 pm
Hi everyone! I am trying to disable character movement in my 2D game while dialogues are occurring. I am following the instructions in this tutorial video.
The tutorial recommends:
1. Adding a DialogueSystemEvents component to the player object
2. Adding + Conversation Start and Conversation End events
3. Dragging in the Player Object to the event
4. Selecting the Player Movement Component > bool enabled, to disable it
However, when I do this, then it doesn't do anything. In fact, I can't get these events to fire and change any function I add. I have tried simply doing On Conversation Start > SpriteRenderer.flipX on a object with Sprites as a test, and nothing happens.
Here is a video of me trying. In the video I add the DialogueSystemEvents component to my player, add the player to the start and end conversation events, set the bool enabled to be the function, and nothing happens.
How do I get these events to fire? Is there something else I need to do? Thank you!
The tutorial recommends:
1. Adding a DialogueSystemEvents component to the player object
2. Adding + Conversation Start and Conversation End events
3. Dragging in the Player Object to the event
4. Selecting the Player Movement Component > bool enabled, to disable it
However, when I do this, then it doesn't do anything. In fact, I can't get these events to fire and change any function I add. I have tried simply doing On Conversation Start > SpriteRenderer.flipX on a object with Sprites as a test, and nothing happens.
Here is a video of me trying. In the video I add the DialogueSystemEvents component to my player, add the player to the start and end conversation events, set the bool enabled to be the function, and nothing happens.
How do I get these events to fire? Is there something else I need to do? Thank you!