# Delta Time For Consistant Delay Not Working

**URL:** <https://forums.unrealengine.com/t/delta-time-for-consistant-delay-not-working/414846>\
**Category:** Blueprint\
**Tags:** framerate, unreal-engine, fps, delta-time, Blueprint, question\
**Created:** [January 18, 2018, 12:26am UTC](https://forums.unrealengine.com/t/delta-time-for-consistant-delay-not-working/414846 "2018-01-18T00:26:33Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![hello.aberdeen](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@hello.aberdeen](https://forums.unrealengine.com/u/hello.aberdeen)\
**Post date:** [January 18, 2018, 12:26am UTC](https://forums.unrealengine.com/t/delta-time-for-consistant-delay-not-working/414846/1 "2018-01-18T00:26:33Z")

</div>

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?

 ![227436-capture.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/4/9/24995a1e5eed5b8ed9ad1126c3154bcca8e6f467.png)

---

<div class="post-metadata">

**Author:** ![vr\_marco](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/vr_marco/32/1194556_2.png) [@vr\_marco](https://forums.unrealengine.com/u/vr_marco)\
**Post date:** [January 18, 2018, 9:48am UTC](https://forums.unrealengine.com/t/delta-time-for-consistant-delay-not-working/414846/2 "2018-01-18T09:48:47Z")

</div>

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.

> **[Set Timer by Event](https://docs.unrealengine.com/4.27/en-US/BlueprintAPI/Utilities/Time/SetTimerbyEvent/)**
>
> Set Timer by Event

---

<div class="post-metadata">

**Author:** ![hello.aberdeen](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@hello.aberdeen](https://forums.unrealengine.com/u/hello.aberdeen)\
**Post date:** [January 22, 2018, 3:12am UTC](https://forums.unrealengine.com/t/delta-time-for-consistant-delay-not-working/414846/3 "2018-01-22T03:12:58Z")

</div>

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?

---

<div class="post-metadata">

**Author:** ![AyanMiru](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/ayanmiru/32/1194638_2.png) [@AyanMiru](https://forums.unrealengine.com/u/AyanMiru)\
**Post date:** [January 22, 2018, 3:49am UTC](https://forums.unrealengine.com/t/delta-time-for-consistant-delay-not-working/414846/4 "2018-01-22T03:49:13Z")

</div>

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:

[![](https://d3kjluh73b9h9o.cloudfront.net/original/4X/1/2/4/124a8f8f8264dc39be86df98879df24534676721.jpeg "WTF Is? Delta Time in Unreal Engine 4") ](https://www.youtube.com/watch?v=GyJVYB3IzGA)

---

<div class="post-metadata">

**Author:** ![hello.aberdeen](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@hello.aberdeen](https://forums.unrealengine.com/u/hello.aberdeen)\
**Post date:** [January 22, 2018, 3:54am UTC](https://forums.unrealengine.com/t/delta-time-for-consistant-delay-not-working/414846/5 "2018-01-22T03:54:41Z")

</div>

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!

---

<div class="post-metadata">

**Author:** ![vr\_marco](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/vr_marco/32/1194556_2.png) [@vr\_marco](https://forums.unrealengine.com/u/vr_marco)\
**Post date:** [January 22, 2018, 6:32am UTC](https://forums.unrealengine.com/t/delta-time-for-consistant-delay-not-working/414846/6 "2018-01-22T06:32:23Z")

</div>

How has this solved your issue?

---

<div class="post-metadata">

**Author:** ![AyanMiru](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/ayanmiru/32/1194638_2.png) [@AyanMiru](https://forums.unrealengine.com/u/AyanMiru)\
**Post date:** [January 22, 2018, 7:56am UTC](https://forums.unrealengine.com/t/delta-time-for-consistant-delay-not-working/414846/7 "2018-01-22T07:56:14Z")

</div>

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.
