Sequence(Delay) issue: Delay called from Ink doesn't work as expected.
-
- Posts: 17
- Joined: Tue Dec 08, 2020 6:33 am
Sequence(Delay) issue: Delay called from Ink doesn't work as expected.
Hello!
I'm using Ink to write my conversation script and I may found an issue with Sequence(Delay) called from Ink.
I tried to add an extra 10s delay after a dialogue. The extra 10s delay sequence and the default 2s delay were both played at the same time. However, the conversation continued when the 2s delay was finished and the 10s delay was still counting down. In short: the sequence(Delay) from Ink was called but didn't really stop the dialogue.
Thanks in advance!
I'm using Ink to write my conversation script and I may found an issue with Sequence(Delay) called from Ink.
I tried to add an extra 10s delay after a dialogue. The extra 10s delay sequence and the default 2s delay were both played at the same time. However, the conversation continued when the 2s delay was finished and the 10s delay was still counting down. In short: the sequence(Delay) from Ink was called but didn't really stop the dialogue.
Thanks in advance!
Re: Sequence(Delay) issue: Delay called from Ink doesn't work as expected.
Hi,
I'll work on a fix for that. Technically I think Ink runs external functions in {braces} between lines of text. So {Sequence("Delay(10)")} runs between "I'd like to delay for 10s." and "Ah!". I'll need to find a way to catch it and make sure it plays attached to "I'd like to delay for 10s." instead of separately between the two lines.
I'll work on a fix for that. Technically I think Ink runs external functions in {braces} between lines of text. So {Sequence("Delay(10)")} runs between "I'd like to delay for 10s." and "Ah!". I'll need to find a way to catch it and make sure it plays attached to "I'd like to delay for 10s." instead of separately between the two lines.
-
- Posts: 17
- Joined: Tue Dec 08, 2020 6:33 am
Re: Sequence(Delay) issue: Delay called from Ink doesn't work as expected.
Hi Tony,
Thanks for your soon reply.
I put {Sequence("Delay(10)")} between "I'd like to delay for 10s." and "Ah!", but this time the function was played after "Ah!". And it still didn't delay the conversation either. It seems like the {Sequence("Delay(10)")} caught from Ink operates on its own instead of joining other ongoing delays.
Hope this information may help. Really appreciate!
Thanks for your soon reply.
I put {Sequence("Delay(10)")} between "I'd like to delay for 10s." and "Ah!", but this time the function was played after "Ah!". And it still didn't delay the conversation either. It seems like the {Sequence("Delay(10)")} caught from Ink operates on its own instead of joining other ongoing delays.
Hope this information may help. Really appreciate!
Re: Sequence(Delay) issue: Delay called from Ink doesn't work as expected.
Yes, that's correct. Function calls in {braces} run relatively independently from the timing of the conversations themselves. It's looking like the most reliable way to run sequences that are tied to the timing of subtitles will be to provide an additional way to specify them. So instead of:
You'll have the option to do something like this:
I just need to go through the grammar and make sure that "||" outside of {braces} doesn't mean anything special in Ink. Inside {braces}, "||" is used as the logical "or" condition.
Then again there may still be a way to unambiguously connect {Sequence(...)} to a specific Ink subtitle. I'm still researching it.
Code: Select all
I'd like to delay for 10s. {Sequence("Delay(10)")}
Ah!
Good!
Code: Select all
I'd like to delay for 10s. || Delay(10)
Ah!
Good!
Then again there may still be a way to unambiguously connect {Sequence(...)} to a specific Ink subtitle. I'm still researching it.
-
- Posts: 17
- Joined: Tue Dec 08, 2020 6:33 am
Re: Sequence(Delay) issue: Delay called from Ink doesn't work as expected.
Thanks for your help!
Re: Sequence(Delay) issue: Delay called from Ink doesn't work as expected.
Hi,
I was able to get the {Sequence()} function to connect properly to subtitles, so timing should work with your Delay(10) now. You can download the updated integration package from the Dialogue System Extras page. (direct download)
I was able to get the {Sequence()} function to connect properly to subtitles, so timing should work with your Delay(10) now. You can download the updated integration package from the Dialogue System Extras page. (direct download)
Re: Sequence(Delay) issue: Delay called from Ink doesn't work as expected.
Note: In the updated integration package that will be in DS version 2.2.15, the default behavior will be the old way. To tie Ink {Sequence()} functions to subtitles, you'll need to tick the Dialogue System Ink Integration's Tie Sequences To Dialogue Entries checkbox.
-
- Posts: 17
- Joined: Tue Dec 08, 2020 6:33 am
Re: Sequence(Delay) issue: Delay called from Ink doesn't work as expected.
Hi Tony,
This update works perfectly! Thank you very much!
This update works perfectly! Thank you very much!