I need to better understand functions and need a list of those avaialble in UE 5.2. I am currently working on a game involving timed completion. Clock timers must be turned on and shut off. The timer sequencing used does not have a named function; however, I need to use Clear Timer by Function Name, wich in turn, requires a named function. I have checked online groups, Youtube, and Discord channels but nobody seems to have an answer. I am happy to send screen shots or whatever is required in order to get this resolved. Thank you.
When you start a timer, you get a handle ( reference ), you can use this to pause, stop or destroy the timer.
No need to do any of the above, Tick
+ Delay
is an especially vile combo. A timer already counts time:
You could have it looping every second instead, too, if that’s what is needed.
Wow, this appears as a much easier way to set up the timer. Does this method work as a countdown timer that displays on screen, as In what I have shown? Here I show what occurs if the countdown timer expires. It then moves on to an options screen to quit or retry.
The “Set” coming from Set Timer by Event, how are you getting that? Removing the Event Tick stops the countdown from running, defeating my purpose. I simply need the countdown to stop once the player has overlapped the trigger box.
Yes, you can use it to count down. You do not need Tick
at all - that’s the beauty of it. The handle is a new variable of timer type.
You can right click any pin in the engine and Promote to Variable
to automate the variable creation process.
SET
means assign value in this context.
Thanks for the explanations! I’m pretty new to this, following tutorials, and trying to learn as much along the way as I can. I’ll try to get this built as suggested and see where it ends up and welcome the opportunity to reach out again if needed.
Many thanks and much appreciated. I’ll give it a try.
… Okay, made the changes and it compiled without error. Thanks again!!!
You are welcome!!
Check "looping too!!.. so it will run several times.
To stop it use “pause timer” or “clear timer” to delete it.