I don't exactly know what happened, but it seems to be working now. Maybe the issue was that I have something like Sequence("Continue(); SetTimeout(5)") before, and the order of the commands matter? One way or another it was probably something on my side.
But it is not the end of my issues!
I've got another question regarding. Imagine a situation when you have a dialogue with 2 choices (not options, ie. the response menu will appear twice), one after another. I would like to set the timeout for the second choice and not repeat sequencer commands at every line that leads to the second choice. What would be the recommended way of doing so? I've tried adding an empty "dummy" line that will contain only sequencer commands and a Continue(), but it leads to the UI behaves funky (it starts showing up and then disappearing).
Below is sample content that should describe this situation more properly. Basically, I would like to make AkirasReply time limited. To do so I have to put sequencer command on every line that leads to this knot (I really would like not to) or put some empty dummy line with only sequencer command and let my UI flicks (I would really not to as well
)
Code: Select all
Sentry Akito: *umm* You may proceed. Master Kenjiro awaits you.
Sentry Jin: But know that we will keep an eye on you, ronin.
* [Satoru: /Remain silent./] Remain Silent # Actor = Player
-> AkirasReply
* [Satoru: We might be ronin, but we still walk the path of honor.] # Actor = Player
Sentry Jin: And yet, you already forgot when to remain silent... ronin. # Actor = Player
-> AkirasReply
= AkirasReply
Akira: Dummy Contents {Sequence("SetTimeout(5); Continue(); HidePanel(0)")} # Actor = Player
* [Akira: /Remain silent./] Remain Silent # Actor = Player
-> DONE
* [Akira: (whisper) If you ever try to upset my friend again, I will... return here in a few months... and murder your family in their sleep. ] # Actor = Player
Sentry Jin: Wha- Wh...
-> DONE
Apart from that - when using Ink we can write something like this:
Code: Select all
Hello world!
* [Hello back!] Hello right back to you!
* [Howdy] Bonjour!
Nice to hear from you!
and Dialogue System for Unity will respect the bracket contents and display it as an option during the response menu and the rest of the line will be displayed as a subtitle following the response menu. It is currently not possible to run a sequence for displaying an option only (ie when it is being displayed in the response menu), but only for the following subtitle (at the end of the ink line). Would you consider adding this as an option? It would be really useful for me.