Page 1 of 1

[SOLVED]Response Timeout only for one point in dialog

Posted: Sun Mar 13, 2016 2:51 pm
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.

Re: Response Timeout only for one point in dialog

Posted: Sun Mar 13, 2016 3:29 pm
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.