Announcements, support questions, and discussion for the Dialogue System.
-
Antonio O
- Posts: 10
- Joined: Wed Apr 18, 2018 6:54 pm
Post
by Antonio O »
Is there a way to have a Sequence that requires waiting for more than one Message?
Something like;
Code: Select all
SetActive(Bomb, false)@Message(Message1 && Message2);
-
Tony Li
- Posts: 22154
- Joined: Thu Jul 18, 2013 1:27 pm
Post
by Tony Li »
Hi,
If you know that one message comes before the other, you can check them in order:
Code: Select all
WaitForMessage(Message2)@Message(Message1)->Message(GotBothMessages);
SetActive(Bomb, false)@Message(GotBothMessages)
Otherwise you probably need to handle it outside of the sequence, and call Sequencer.Message() when both conditions are met.