Set Timer by Function Name node with a function library

I want to call different functions inside my Function Library using their names provided from String. I found that the only option using the BP is to use the Set Timer by Function Name node but it doesn’t work. The functions never get called.

All the variables are set properly, the Delay Time variable is >0.

Any idea how to make it work? Thanks

I don’t believe you can call the function directly from SetTimerByFunction because this requires an object and the function library is not an object in the game. It’s a library of functions that you call directly from any blueprint.

Consider doing one of the following:

  1. Create a custom event or function that calls the function library function directly. Have SetTimerByFunctionName call this custom event or function.

Or

  1. Create a custom event that calls the function library function directly. Use SetTimerByEvent to call this custom event as a delegate.

See screenshots.

For more information on Function Libraries:

2 Likes

Thank you for pointing out the fact that a function library is not an object in the game. That was the culprit :slight_smile: