How to cast to non-player character blueprints?

https://dl.dropboxusercontent.com/u/22554025/misc/anim%20blueprint.jpg

I’m trying to make this animation blueprint work for a non-player character blueprint. I need access to boolean variables inside this blueprint to control which animations are fired when. I have no trouble setting this up for the player character.