Hey everyone,
Is there way when starting to call a custom notify state, to get the duration of this notify ?
I need to trigger an event that starts when the notify state begin and ends when the notify state ends, and have things happen proportional to the notify time. I’m trying to create a QTE button that will always start when the notify is started and make a “fail” if the player presses in the first 70% of the event, good if in the next 20%, Perfect in the last 10%.
Basically I need to get the Anim Notify State duration value into a blueprint and I can’t find a way to do it.
I found a way in 4.25 to get a notify state duration. You want to Override the function Received_NotifyBegin in your custom notify state, and it comes with a pin “Total Duration” as soon as the notify state triggers.
You will find that it’s a bit tough to communicate the owner’s blueprint(at least on my end it was) my Cast couldn’t work in this particular blueprint. I had to create a Blueprint Interface, make sure my receiver had the BPI installed, and then message it through the BPI.