Animation control; call function at specific frames

Hi, for a project im working on I need to be able to alter variables based on what frame a certain animation is at without using blueprints.
For those that have used Unity, I basically want the unreal version animation.normalizedtime.

I would also like to start or stop an animation at certain frames as well. Has anyone done anything like this?

In the persona editor you can create animation notify in whatever frame, maybe this help, take a look to unreal YouTube channel the third person tutorial

Greetings dude

is there a way to do it in C++?

Anim notifies are the way to go here. There are accessible through C++:



void UCustomAnimInstance::AnimNotify_NameOfNotifie(UAnimNotify* Notify)
{
    /* do whatever you want */
}