Create a custom event tick based on milliseconds

Hi, I need to run a function that updates independent of frame rate. Basically, to recreate the Blueprint ‘Event Tick’ but run it per 20 milliseconds, for example, instead of per frame.

I found:

 World->GetTimerManager().SetTimer(SampleTimerHandle, this, &AMyCharacter::SampleTimerExpired, 10.0f);  

Which ticks every 10 seconds, but how can I get a function like this into a blueprint, at the start of the Exec chain?

Thanks.

Aha, solved. Replacing the EventTick with this seems to work.

1 Like