How to wait for seconds before playing conversation ?

Announcements, support questions, and discussion for the Dialogue System.
Post Reply
hoangvm2307
Posts: 10
Joined: Thu Feb 29, 2024 10:11 am

How to wait for seconds before playing conversation ?

Post by hoangvm2307 »

For example, When an NPC is triggered by collider, I want to wait 1 second before playing conversation.
Thank you :D :D
User avatar
Tony Li
Posts: 22112
Joined: Thu Jul 18, 2013 1:27 pm

Re: How to wait for seconds before playing conversation ?

Post by Tony Li »

Hello,

Use a blank node for the first dialogue entry node (the node linked from <START>). Set its Sequence to:

Code: Select all

SetDialoguePanel(false, immediate);
required SetDialoguePanel(true)@1;
Continue()@1
Then link that node to the first node that has dialogue text.
hoangvm2307
Posts: 10
Joined: Thu Feb 29, 2024 10:11 am

Re: How to wait for seconds before playing conversation ?

Post by hoangvm2307 »

Thank you Tony :D
User avatar
Tony Li
Posts: 22112
Joined: Thu Jul 18, 2013 1:27 pm

Re: How to wait for seconds before playing conversation ?

Post by Tony Li »

Glad to help!
Post Reply