How to get notify from PlayMontageAndWait

When playing a montage on a gameplay ability you are supposed to use PlayMontageAndWait and not PlayMontage. I just found this out when trying to cancel and replicate montages. However PlayMontageAndWait does not have notifications like PlayMontage.

Is there a way to get the notifications anyway? I use them to get specific points in the animation and react to them and the only other way I found of doing this is using Delay nodes which is very unfriendly to work with.

1 Like

Anyone who has run into this?

Is there any progress about this question?

Also interested in this? +1

I found the recommended way to do this, and it’s not using Montage Notifies, but instead using Gameplay Events.

There is a node “Wait Gameplay Event” that is a latent function which will wait for a specific Gameplay tag to be executed on the given actor.

What I did was create a custom Anim Notify, that takes as input a gameplay tag, and send the Gameplay Event through the montage.

Then I can simply wait for that event in my Ability, and it will work.

Below is an example in blueprints:

7 Likes

Great solution.

I did one tweak, which was to setup the Wait Gameplay Event before the PlayMontage. That way you’re ready for the event before the animation has started playing, and if it’s a short animation it might get set too late.