How can I control the delay after a bark?
My bark settings are set to 0, so it should us "Min subtitle seconds" which is set to 2.
Anyhow, the bark lasts exactly 4 seconds.
1) If I have this line (31 chars)
"Where is the smell coming from?",
-> It takes 1 second to show all text, then another 3.3 seconds until it closes. (4.3 seconds total)
2) With this line: (88 chars)
"Where is the smell coming from? I don't know if I can take it anymore. It's so horrible."
-> It takes 2.5 seconds to show all text, then another 1.5 second until it closes. (4.3 seconds total)
3) With this line: (129 chars)
"Where is the smell coming from? I don't know if I can take it anymore. It's so horrible. What happens if the text is even longer?"
-> It takes 4 seconds to show all text, then just 0.3 seconds until it closes. (4.3 seconds total)
The chars per second is set to 35, so it seems to print the text in the correct speed. But why is the delay in the end different? I'd like for all barks to have the exact same delay, AFTER the text has been printed.
For (1) above, I would like 1 second to print, 1.5 second delay = Total 2.5 s
For (2) above, I would like 2.5 second to print, 1.5 second delay = Total 4.0 s (which is about correct now)
For (3) above, I would like 4 second to print, 1.5 second delay = Total 5.5 s
With any longer text than that, the typewriter doesn't finish, and it closes the dialogue prematurely.
I'm using DialogueManager.BarkString to start the bark, and I tried with and without this sequence, didn't notice any difference and don't see any callbacks from the sequence, which I have enabled, and it shows for conversations.
Code: Select all
var sequence = "SetDialoguePanel(false)@{{end}}->Message(Wait); Delay(2)@Message(Wait)->Message(Hid); Delay(2)@Message(Hid)->Message(Delayed); SetDialoguePanel(true)@Message(Delayed)";
DialogueManager.BarkString(text,speaker, listenerTransform, sequence);
Could you enlighten me how to set this up?
PS: I'm also waiting for the new version, since the text starts to print before the bubble is shown, should that be possible to change with a sequence too, if they worked?
Thank you!