Delta Time For Consistant Delay Not Working

Hello!

I’m trying to use delta time to get a consistent delay for a dialogue system I’m developing, so I’m multiplying the delay between words with delta time in the hopes that it would stay consistent between framerates, but that doesn’t seem to be working. Is there something I’m doing wrong here? Am I using delta time totally wrong?

I would do it differently. Use a timer which you arm with the right delay for the first set of words. As the timer triggers the associated event, you display the associated portion of the dialogue and then you re-arm the timer with the delay for the next part and so on. In this way you are sure you will always get the right timing between the different portions of your dialogue.

Good to know, but I’d really like to use delays and delta time here in an effort to better understand delta time. Any tips for how to get that to work?

I think Delay is already taking Duration in realtime seconds.

But in case you want to learn about delta time more, here is youtube link you may find interesting:

oh wow… you are indeed correct… I have no idea why I didn’t know that, but thank you so much for that info… I will absolutely check out that video, thank you again!

How has this solved your issue?

As I understood, he was trying to get consistent delay for different framerates, but was thinking a little bit ahead and tried to use delta time for it. I’ve just pointed out that it’s redundant. I think, your solution is correct but is a workaround not answer to the question.

At the same time he wanted to learn more about Delta Time and usage of it, as can be seen on his comment to your answer. So I pointed to a video that helped me in that regard.
Hope that clarifies.