[SOLVED]Response Timeout only for one point in dialog

Announcements, support questions, and discussion for the Dialogue System.
Post Reply
Evgeny
Posts: 16
Joined: Sun Mar 13, 2016 11:18 am

[SOLVED]Response Timeout only for one point in dialog

Post by Evgeny »

I'm set a Response Timeout in the Dialogue Manager's Input Settings to 5, but I'm need timeout only for one question in dialog. How to do this?

And second question :)

Where to redefine the type of display of the timer? For example two UISLider dispersing in different directions.
Last edited by Evgeny on Mon Mar 14, 2016 3:37 am, edited 1 time in total.
User avatar
Tony Li
Posts: 21925
Joined: Thu Jul 18, 2013 1:27 pm

Re: Response Timeout only for one point in dialog

Post by Tony Li »

Hi,
Evgeny wrote:I'm set a Response Timeout in the Dialogue Manager's Input Settings to 5, but I'm need timeout only for one question in dialog. How to do this?
In the dialogue entry before the response menu, use the SetTimeout() sequencer command. For example:

Code: Select all

SetTimeout(5); Delay({{end}})
(The "Delay({{end}})" tells the Dialogue System to wait for the correct amount of time based on the dialogue text.)

In the dialogue entry after the response menu, use SetTimeout(0):

Code: Select all

SetTimeout(0); Delay({{end}})
Evgeny wrote:Where to redefine the type of display of the timer? For example two UISLider dispersing in different directions.
Customize Assets/Dialogue System/Third Party Support/NGUI/Scripts/NGUI Dialogue UI/NGUI Dialogue Controls/NGUITimer.cs.
Post Reply