Page 1 of 1

End conversation with required

Posted: Sat Feb 13, 2021 2:24 pm
by fkkcloud
Hello,

As I end the conversation with Continue like below, it execute the command right away without delay. Is this expected?

Code: Select all

required PlayVideo(XXX)@4;
Continue();

Re: End conversation with required

Posted: Sat Feb 13, 2021 2:40 pm
by Tony Li
Yes. All commands run at the beginning of the sequence unless you specify a different time. Try something like this:

Code: Select all

required PlayVideo(XXX)@4;
Continue()@12; // Assumes video is 8 seconds long.
Or, if PlayVideo() does not call Stop() until it's done:

Code: Select all

required PlayVideo(XXX)@4->Message(Done);
Continue()@Done();