Page 1 of 1

How to Skip Entire Cutscenes?

Posted: Thu May 16, 2024 3:38 pm
by dlees9191
Hi! I'm wanting to make a button in the pause menu that skips the current scene that is playing.

I've seen this thread, but that solution is more like a fast-forward feature, and I can still see dialogue boxes and character movements flash before my eyes. I want it to be more like when you skip a scene in an action-adventure game.

Any ideas? Thanks!

Re: How to Skip Entire Cutscenes?

Posted: Thu May 16, 2024 3:55 pm
by Tony Li
Hi,

You could configure your skip button to call this C# method:

Code: Select all

PixelCrushers.DialogueSystem.DialogueManager.StopConversation();
That will stop the conversation, skipping all nodes that remain in the conversation.

Alternatively, if you want to fast-forward through the nodes without showing anything, add a Conversation Control component to your Dialogue Manager or dialogue UI and call its SkipAll() method. This is useful if some of the nodes that remain perform actions such as setting quest states or activating GameObjects.