Create a custom event tick based on milliseconds

antithing
Wed, 17 Feb 2016 10:01:52 +0000
Blueprint

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.

2 posts - 1 participant