Page 1 of 1

"Continue" dialogue from code?

Posted: Sun Nov 22, 2020 12:52 am
by fkkcloud
Hi,

How do I force continue/move to the next conversation node without players input for a custom situation?

Basically, what I am looking for is something like:

Code: Select all

DialogueManager.ContinueToNextNode()
Thank you

Re: "Continue" dialogue from code?

Posted: Sun Nov 22, 2020 7:31 am
by fkkcloud
I sent message from c# code

Code: Select all

PixelCrushers.DialogueSystem.Sequencer.Message("DoneSetName"); 
then in the Dialogue Node, I've set

Code: Select all

Continue()@Message(DoneSetName);
which does the job- I hope this is the right way.

Re: "Continue" dialogue from code?

Posted: Sun Nov 22, 2020 8:11 am
by Tony Li
From C#, you can call the conversation view's OnContinueConversationAll() method:

Code: Select all

DialogueManager.conversationView.OnContinueConversationAll();