Hi, is there a method to start a timer looping every millisecond? I want this instead of the Tick event because I need to stop the timer, and the Tick event can’t be stopped.
Hello!
Tick is still the best solution, but you can do following:
tick—> branch —> (goal)
have the condition of the branch be so, that when you want to stop the timer, the condition is no longer met.
Hope this helps, -DoctorPC
I dont know what you need accurate timer, but you could use tick for milisecount timer by checking delta times, you cant stop tick but you can do conditinal processings in tick.
But i think timers are better idea, timers call funtion over time or in loop, you use “Set Timer” to start the timer and then you can pause clear or check status of timer. Timers use funtion and object as identifier, thats why “Pause Timer” will require you to type funtion name even if they dont need it really. Because blueprint does not support function pointers, you need to type in name of funtion manually, it needs to be the same aa function name or else timer wont know which function to call, object input is object on which function will be called.
I’d like to use the Set Timer function, but the problem is that with Set Timer you must use minimum 1 second, so you can’t use 1 millisecond.
Thanks! It works!
Nice, hopefully your project is once again going forward
-DoctorPC
(oh, I guess commenting will unresolve question. How intuitive… -_-)