Can one sequence wait for a message and send one?

Announcements, support questions, and discussion for the Dialogue System.
Post Reply
AoF
Posts: 241
Joined: Sun May 12, 2019 8:36 pm

Can one sequence wait for a message and send one?

Post by AoF »

I did not see an example of this here: https://www.pixelcrushers.com/dialogue_ ... ences.html

What syntax do I use if I want a sequence to wait for a message and send one?
AoF
Posts: 241
Joined: Sun May 12, 2019 8:36 pm

Re: Can one sequence wait for a message and send one?

Post by AoF »

The docs kind of hint at this (but I'd prefer it shown in a real example, personally), but you can do this: Sequence()@Message(One)->Message(Two);
User avatar
Tony Li
Posts: 22055
Joined: Thu Jul 18, 2013 1:27 pm

Re: Can one sequence wait for a message and send one?

Post by Tony Li »

Good point. I'll add that to the docs.
Post Reply