Hi,
I love using the dialogue system plugin for Unity!
I have a question: during the same conversation I would like to activate the response timout for some dialogues and for some others I would like to deactivate it.
What is the best way to do it? Is it possible to do it directly in the Conversation ispector or do I need a specific script (which one and where I need to attach it?)?
Thank you in advance!
Set response timout on/off
Re: Set response timout on/off
Hi,
Thanks for using the Dialogue System!
You don't need to do any scripting.
Use the SetTimeout() sequencer command.
For example, in the screenshot below, the node "What is 1+1?" sets a 5-second timeout for the next response menu. Afterward, the node "More dialogue..." deactivates timeouts.
The {{default}} tells the node to also play the Dialogue Manager's Default Sequence, which usually delays for a duration to give the player time to read the subtitle. You can read more about sequences here: Cutscene Sequences.
Thanks for using the Dialogue System!
You don't need to do any scripting.
Use the SetTimeout() sequencer command.
For example, in the screenshot below, the node "What is 1+1?" sets a 5-second timeout for the next response menu. Afterward, the node "More dialogue..." deactivates timeouts.
The {{default}} tells the node to also play the Dialogue Manager's Default Sequence, which usually delays for a duration to give the player time to read the subtitle. You can read more about sequences here: Cutscene Sequences.
Re: Set response timout on/off
Thank you. It works great!!!
Re: Set response timout on/off
Glad to help!