How can I set up a counting up timer when I enter a trigger box and a trigger box at the end of the level that stops the timer?
Also another issue I have is that I have no idea how to register the play time between the trigger boxes so the time would be displayed at the levels end screen and saved in a scoreboard widget?
asked May 13 '18 at 04:36 PM in Using UE4
you can do this pretty easily by getting the game time. if you want to get the time between two points all you have to do is get the game time at the start point then subtract it from the game time at the end point. alternatively you could use the get game time since creation which is based on how long an actor has exited in the world. these node are affected by time dilation and pausing the game just so you know. below i posted a little script that when the player overlaps a trigger box it prints the time as an example.
answered May 13 '18 at 04:59 PM
Follow this question
Once you sign in you will be able to subscribe for any updates here