How can I add a Countdown Timer to a Level with Blueprints (e.g. Time Limit to complete a Level)
I'm having trouble trying to create a countdown timer with Blueprints. As I'm not sure where to start with it.
I'm trying to create a timer that can be placed into individual levels, and will display on the Player's HUD, the time remaining. (The reason I'd like it to be placeable and editable into different levels is that different levels will have different times required to complete them).
What I'm aiming to create is a time limit to complete the level, If the timer hits "0", then a "Game over" with a "Restart" button appears.
Any help with this would be absolutely appreciated, Thanks!
asked Jan 12 '16 at 09:29 AM in Blueprint Scripting
Enjoy. This is my simple timer with 2 functions and 2 events. First event is for each tick and second is called when time is up. On TimeIsUp event you can clear the timer(we saved a handle for it) to stop ticking or you can restart it(otherwise this event will keep firing)
I would use timeline for that, here's an example :
I thought there was a node for that, but I couldn't find it.
But time line should work fine.
Good luck !
answered Jan 12 '16 at 09:21 PM
Follow this question
Once you sign in you will be able to subscribe for any updates here