"Blueprint does not inherit from pawn"

Hello. I am trying to communicate between an NPC blueprint and the NPC’s an animation blueprint. Other people were able to do this using the blueprint in the attached photo, but I get an error telling me " blueprint does not inherit from pawn ". I tried searching up solutions to this problem but no other forum answers were able to help me.

The Class you are trying to cast to (Banging Husk) is not a child of Pawn class, and because Try Get Pawn Owner returns the Pawn class it will never be able to cast Pawn into an actor that is not derived form pawn.

You may be looking for a different node to get owner. I recommend trying “Get Owning Actor” instead of “Try Get Pawn Owner”


Tyvm :slight_smile: