Page 1 of 1

Stop conversation from advancing until receiving message

Posted: Wed Nov 16, 2022 10:54 am
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.

Re: Stop conversation from advancing until receiving message

Posted: Wed Nov 16, 2022 11:57 am
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)