Stop conversation from advancing until receiving message

Announcements, support questions, and discussion for the Dialogue System.
Post Reply
jpalz
Posts: 1
Joined: Fri Nov 19, 2021 11:17 am

Stop conversation from advancing until receiving message

Post by jpalz »

Hi, thanks for making this awesome asset which has helped us quite a bit with our project, even if we're still novices at it.

We have a conversation with three nodes. At the beginning of the second node we launch a cutscene using a scene-specific event, and I'd like to advance automatically to the third node once I reach a certain point in the cutscene.
I've tried using in the sequence: Continue()@Message(UpdatedBillboard) and WaitForMessage(UpdatedBillboard), but the problem is that the conversation advances automatically if the player presses the click button (either Enter or mouse click, I've set a button that encompases the whole screen and calls OnFastForward when pressed) and that messes up a bunch of things.

Is there a way in which I can stop the conversation from advancing when pressing the click button until I receive the message from the cutscene? The options that I've thinking on are completely blocking the player input until receiving the message, or making a second conversation that starts at the point I want in the cutscene, but I was wondering if just using sequencer commands could be enough.
User avatar
Tony Li
Posts: 21962
Joined: Thu Jul 18, 2013 1:27 pm

Re: Stop conversation from advancing until receiving message

Post by Tony Li »

Hi,

The SetContinueMode() sequencer command will turn off the continue button. Try changing the Sequence to:

Code: Select all

SetContinueMode(false);
required SetContinueMode(true)@Message(UpdatedBillboard);
Continue()@Message(UpdatedBillboard)
Post Reply