Blueprint pause

Hey. I have a random delay before the blueprint starts functioning and I’m not sure why.

Basically, after the damage function is called, it’s supposed to set the timer to 10, and then the timer should subtract by 1 every second. Once this is done, health should be added. Everything works, except for the odd delay before the event starts running. Once it starts, everything works perfectly, there’s no delay.

So… Start game > random delay that shouldn’t be there > event starts working > no more random delay > loops perfectly. Any ideas on why this happens?

Okay, turns out that “Take damage” should be connected to the branch after Event Tick. I think this is odd that it doesn’t check every second even when not connected, but oh well.

How is it strange?

Your Take Damage does not work because it’s invalid, the cast does not have an object and is not even connected to an execution flow…

Also, using delays in Tick like this is asking for trouble and a nightmare to debug.

It was odd for me because I’ve never used blueprints before. I just switched from Unity and assumed it was similar to Update and it’d be checking every frame. Anyways, everything else including the damage worked. Just wasn’t sure why there was a delay. It’s been solved, thanks for your input.