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?
Question about SetContinueMode()
Re: Question about SetContinueMode()
Hi,
SetContinueMode(true) shows the continue button and waits for the player to click it.
Try setting the last node's Sequence to:
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.
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)
-
- Posts: 8
- Joined: Thu Aug 01, 2024 1:52 pm
Re: Question about SetContinueMode()
That worked, thanks Tony!
Re: Question about SetContinueMode()
Glad to help!