Set timer by function name" Doesn't work on 5.1?

I am using “Set Timer by Function Name” to set the controller, but for some unknown reason it doesn’t work.

In the section function name: “functionName” it seems that it is never called. If I run the code as a normal function (i.e. without the Set Timer by Function Name, it works correctly)

Has something changed in version 5.1?

I have seen this happen more times.
https://www.reddit.com/r/unrealengine/comments/rywxg6/set_timer_by_function_name_does_not_call_function//

Solution: Rename function couple times.

An alternative is to use this:

image

At least it’s not prone to typos.

2 Likes

In the end the “Set timer by function name” worked for me.
But your solution seems more elegant. Isn’t there a dropdown for “Set timer by function name”?

Nope. You must type it, like a barbarian. :innocent:

The only advantage I can think of is that the Function Name can be dynamic, which could lead to something ever so slightly less barbaric (still, crude):

Not sure if this is useful. Could be in some scenarios where you want the same timer fire different things… But then again, you could instead:

And since neither can take a parameter nor return values, I find the Timer by Function Name mostly obsolete, and fiddly to boot. I guess it can work, it’s just that referencing by string is meh. Rename a function and all hell breaks loose.

Thank you I will choose your way.