Question about SetContinueMode()

Announcements, support questions, and discussion for the Dialogue System.
Post Reply
talesworth
Posts: 8
Joined: Thu Aug 01, 2024 1:52 pm

Question about SetContinueMode()

Post 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?
User avatar
Tony Li
Posts: 23251
Joined: Thu Jul 18, 2013 1:27 pm

Re: Question about SetContinueMode()

Post 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.
talesworth
Posts: 8
Joined: Thu Aug 01, 2024 1:52 pm

Re: Question about SetContinueMode()

Post by talesworth »

That worked, thanks Tony!
User avatar
Tony Li
Posts: 23251
Joined: Thu Jul 18, 2013 1:27 pm

Re: Question about SetContinueMode()

Post by Tony Li »

Glad to help!
Post Reply