temporally disable response timeout
Posted: Sun Jun 09, 2024 8:16 am
Hi Tony
I used to set response timeout 7 seconds in dialogue manager input section, and everything works fine
I have a request that to temporally disable the timeout for certain dialogue menus, I tried to use SetTimeout(x) sequence and it works fine
The problem is that once the SetTimeout() is called, it seems overwrite the default timeout (7 seconds), I have to manually SetTimeout(7) again to resume it back, this does not work well on a large based dialogues
Is there anyway in sequence or in script that I can temporally disable the response menu?
My idea (not yet implemented) is to write a custome sequence command, something like PauseTimeout(), then pause the timeout when sequence is called, and resume the timeout when menu is selected? If that is the right way to do, can you give me some examples in code? especially what namespace and method to use for Pause and Resume timeout?
tks
I used to set response timeout 7 seconds in dialogue manager input section, and everything works fine
I have a request that to temporally disable the timeout for certain dialogue menus, I tried to use SetTimeout(x) sequence and it works fine
The problem is that once the SetTimeout() is called, it seems overwrite the default timeout (7 seconds), I have to manually SetTimeout(7) again to resume it back, this does not work well on a large based dialogues
Is there anyway in sequence or in script that I can temporally disable the response menu?
My idea (not yet implemented) is to write a custome sequence command, something like PauseTimeout(), then pause the timeout when sequence is called, and resume the timeout when menu is selected? If that is the right way to do, can you give me some examples in code? especially what namespace and method to use for Pause and Resume timeout?
tks