Delay question

Announcements, support questions, and discussion for the Dialogue System.
forrestuv
Posts: 64
Joined: Tue Nov 06, 2018 11:28 am

Delay question

Post by forrestuv »

Hi,
I need to delay a particular subtitle or response AFTER the user clicked continue/answer and the current response/subtitle disappear.
The Delay() works for menu answers but not for NPC Panel?
thx
User avatar
Tony Li
Posts: 22056
Joined: Thu Jul 18, 2013 1:27 pm

Re: Delay question

Post by Tony Li »

What about a blank dialogue entry node? To delay for 3 seconds, set its Sequence to:

Code: Select all

Continue()@3
forrestuv
Posts: 64
Joined: Tue Nov 06, 2018 11:28 am

Re: Delay question

Post by forrestuv »

Do I need to create a blank subtitle and add that command on it?
Does it work for Response menu and NPC panel?
User avatar
Tony Li
Posts: 22056
Joined: Thu Jul 18, 2013 1:27 pm

Re: Delay question

Post by Tony Li »

Yes, create a new dialogue entry node with blank Dialogue Text and the Sequence above. It can follow an NPC subtitle or a response menu. However, for the response menu it's simpler to just set the response dialogue entry node's Sequence to:

Code: Select all

Delay(3)
forrestuv
Posts: 64
Joined: Tue Nov 06, 2018 11:28 am

Re: Delay question

Post by forrestuv »

ok thx :)
forrestuv
Posts: 64
Joined: Tue Nov 06, 2018 11:28 am

Re: Delay question

Post by forrestuv »

I don't know why Continue()@3 or Delay() is simply ignored in the conversation.
Also it seems that it just skips the blank entry.
Is there another way to do that?
I need a delay after the npc (or response) entry has been clicked and disappeared.

My settings are on the screenshot attached.
https://ibb.co/nnpNDcy
User avatar
Tony Li
Posts: 22056
Joined: Thu Jul 18, 2013 1:27 pm

Re: Delay question

Post by Tony Li »

Hi,

Here's an example: TestDelay_2019-02-16.unitypackage

If it works differently from what you're trying to accomplish, please let me know how you want it to work differently. (Also, if you don't want the NPC subtitle panel to remain visible while delaying, just set the subtitle panel's Visibility to Only During Content.)
forrestuv
Posts: 64
Joined: Tue Nov 06, 2018 11:28 am

Re: Delay question

Post by forrestuv »

The difference from the test setup is the Continue Button set to Always.
I have a transparent full screen button to make fastforward diag entries.
If I set this option to the ur project it does the same thing.
How can I do?
User avatar
Tony Li
Posts: 22056
Joined: Thu Jul 18, 2013 1:27 pm

Re: Delay question

Post by Tony Li »

I don't understand. In the test scene, the Continue Button dropdown is set to Always, just like in your screenshot.

I could make the continue button cover the entire screen, but that wouldn't change anything.

Maybe you're looking at the wrong scene? The scene is Assets / Test / Test Delay / Test Delay.
forrestuv
Posts: 64
Joined: Tue Nov 06, 2018 11:28 am

Re: Delay question

Post by forrestuv »

No, "Test Delay" scene has "Subtitle settings" continue button set to never :) and the delay works.
As soon as I set the continue button on Always, whenever I click it it just ignore the delay.
Maybe it's the right behaviour? [Installed Version 2.1.2]
If that's the case what can I do then?
Post Reply