node delay

Announcements, support questions, and discussion for the Dialogue System.
Post Reply
linyangyang2015
Posts: 11
Joined: Fri Sep 07, 2018 10:24 pm

node delay

Post by linyangyang2015 »

I has one quests:
a dialog node:actor is NPC,conersant is player, i wish the node delay until getted a message?
User avatar
Tony Li
Posts: 20990
Joined: Thu Jul 18, 2013 1:27 pm

Re: node delay

Post by Tony Li »

Hello,

Set the node's Sequence to:

Code: Select all

WaitForMessage(xxx)
where 'xxx' is the message.

Then in a C# script:

Code: Select all

using PixelCrushers.DialogueSystem;
...
Sequencer.Message("xxx");
Post Reply