Sequence message is being ignored
Posted: Fri Feb 18, 2022 1:15 pm
Hi again
I'm back again with another issue... this time I'm having problems with the messaging while writing sequences. I want some commands to execute only after Delay({{end}}) is over but they are being executed immediately.
The problem is similar to the one asked in this old thread, as it also has to do with the continue button.
The intended behavior is to display the Continue button only after the text has stopped being typed by Dialogue System, and in order to do that I've enabled "Hide continue button on continue".
And then, in the "Dialogue System Controller" I've set the Default Sequence to the following:
But SetActive and SetContinueMode are executed immediately, showing the Continue button as soon as the conversation step is shown.
If I remove Message(Done) and set some seconds...
This works. The conversation appears without continue button and after 5 seconds, the Continue Button appears and I can click it.
This is how Dialogue System Controller is configured:
I'm back again with another issue... this time I'm having problems with the messaging while writing sequences. I want some commands to execute only after Delay({{end}}) is over but they are being executed immediately.
The problem is similar to the one asked in this old thread, as it also has to do with the continue button.
The intended behavior is to display the Continue button only after the text has stopped being typed by Dialogue System, and in order to do that I've enabled "Hide continue button on continue".
And then, in the "Dialogue System Controller" I've set the Default Sequence to the following:
Code: Select all
SetContinueMode(false);
Delay({{end}})->Message(Done);
required SetContinueMode(true)@Message(Done);
required SetActive(Continue Button, true)@Message(Done);
If I remove Message(Done) and set some seconds...
Code: Select all
SetContinueMode(false);
Delay({{end}});
required SetContinueMode(true)@5;
required SetActive(Continue Button, true)@5;
This is how Dialogue System Controller is configured: