How to cast to non-player character blueprints?

anonymous_user_b76c6615
Thu, 30 Apr 2015 19:31:44 +0000
Blueprint

I believe my problem is the engine wants me to specify what instance of my NPC character blueprint to cast to, but I cannot specify because I want what I’m doing to apply to all members of this class. For example, Animation Blueprints.

When it’s the player character, I can use the “get player character” node to specify. On NPCs, I’ve tried “get owning actor,” “get owner,” “try get pawn owner,” and nothing seems to work.

Do I need to cast to a blueprint class instead? I haven’t used this before and I’m not sure how it works and I’m unable to find help with it yet.

4 posts - 1 participant