Page 1 of 1

Delaying conversation using Sequencer

Posted: Wed Dec 15, 2021 9:17 pm
by davegagne
Hi,

I've got a question for which I haven't found the exact answer so far. I'd like to delay the start of a dialogue using a sequence command in the START of the dialogue. Is there any built-in solution that would allow this? The only thing I managed to do so far still showed an empty UI, I'd like to delay the triggering of the conversation so that doesn't happen at all.

Also, please note our set up uses the same Dialogue Manager for many dialogues and only swaps the conversations before calling them, so we can't use Timed Events.

Thanks !

Dave

Re: Delaying conversation using Sequencer

Posted: Wed Dec 15, 2021 9:27 pm
by Tony Li
Hi Dave,

Try setting the conversation's <START> node's Sequence to something like:

Code: Select all

SetDialoguePanel(false, immediate);
Delay(2);
SetDialoguePanel(true)@2
This will delay the conversation by 2 seconds.

Re: Delaying conversation using Sequencer

Posted: Wed Dec 15, 2021 9:34 pm
by davegagne
This is incredibly elegant and fixes my problem (with a super quick answer time, really appreciate that !).

Thanks a lot Tony !

Dave

Re: Delaying conversation using Sequencer

Posted: Thu Dec 16, 2021 8:29 am
by Tony Li
Glad to help!