Pausing Game but allowing a timer to still countdown?
I'm trying to make a game where you have a set amount of time to beat the level. I'm trying to implement a 3 second countdown, where the game is paused before the round starts, before starting the round-countdown. I always want this when the player "Resumes" after Pausing the game. However, I can't seem to figure out how to pause the game while allowing 1 timer to countdown and then unpause the rest of the game. Any ideas?
asked Mar 08 '15 at 12:53 AM in Blueprint Scripting
Made a quick video to show you a possible way to achieve this. Delay's still work during pause. So I looped a 1 second delay around and plugged it to a branch that checked if it was not equal to the desired amount of time. As long as it is not equal to the specified number, it will keep looping, once it reaches the chosen number, the branch states false and un-pauses the game. The Time variable is just a variable that I created and named Time as shown in the video when I created MyTime variable. Also, in my example, the pause and un-pause event is controlled with a simple key press and release. But this can be done in different ways.
Let me know if there was anything unclear! Take care!
Follow this question
Once you sign in you will be able to subscribe for any updates here