Page 1 of 1

Question about SetContinueMode()

Posted: Wed May 07, 2025 6:18 pm
by talesworth
Midway through a tutorial conversation, I call this sequence command:

SetContinueMode(false);

I then control the conversation via SendMessage commands in my C# script while requiring the player to click here and there in-game. When the player does the last required action, I want to set the conversation mode back to true and close it.

In the <> [END] node, I have no dialogue text, and only the sequence line:
SetContinueMode(true);
However, now it doesn't close the dialogue, it now waits for the player to click the dialogue window (which is displaying the last node's text).

How can I set the continue mode and close the dialogue window in that end node?

Re: Question about SetContinueMode()

Posted: Wed May 07, 2025 6:42 pm
by Tony Li
Hi,

SetContinueMode(true) shows the continue button and waits for the player to click it.

Try setting the last node's Sequence to:

Code: Select all

SetContinueMode(true)->Message(Proceed);
Continue()@Message(Proceed)
In the sequence above, when SetContinueMode(true) finishes, it sends the sequencer message "Proceed". The Continue() command waits for this message and then simulates a continue button click.

Re: Question about SetContinueMode()

Posted: Wed May 07, 2025 7:52 pm
by talesworth
That worked, thanks Tony!

Re: Question about SetContinueMode()

Posted: Wed May 07, 2025 8:29 pm
by Tony Li
Glad to help!