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:
-
This is my Ability
-
Here is the custom Anim Notify I created (AN_SendGameplayEvent)
-
This is how I trigger it in the Montage