Download

Casting to AI Anim BP from Player BP?

Hey everyone!

I am working on a melee combat system, with a simple counter mechanic similar to the Arkham games. What I have currently is when the AI character attacks, it activates a bool labeled “Can Counter?”

Inside the AI’s Anim BP. What I want to do is cast that bool from the AI anim BP to the Player anim BP. Then I can trigger a counter animation, damage, particles, all that fun stuff.

Problem is, I can’t for the life of me figure out how to get the cast to work properly! It fails no matter what I plug into the blue ‘object’ slot on the left of the cast node!

Anyone know how I can get this to work?

aianimBP.jpg

charanimbp.png