Animation BPs for AI

This should be simple. Is there a way to control individual Actor animations via the Animation Blueprints. In this example there are 4 Spawned in AI Pawns that need to be running. right now they have variable set like isRunning? and if thats true it should switch states when that boolean becomes true. however right now they only start running if every single AI’s variable is true. So they if 3 of the 4 are moving they just slide, but once the forth starts to move they all start running. I must be doing something wrong. Right now in the Animation BP its a get all actors of class to a for each loop then getting the variables from there, as opposed to a cast. This is because i have Multiple AI characters calling from the same parent AI Actor so I dont have to rebuild per Character. Im wondering if this is where the problem originates. This also seems very expensive sine in some areas i have upwards of 30 Ai characters.

if you prepare screen shots of your graphs, people can help you better.

Right now in the Animation BP its a get all actors of class to a for each loop then getting the variables from there, as opposed to a cast.

That’s not right. Check Details for each Character. You will find a Animation section, make sure Animation Mode is set to Use Animation Blueprint and the blueprint is set. Each Character will run through its own instanced anim blueprint and you will get your desired behavior. Each Anim BP should only know about its own character and there should most certainly not be any Get All Actors of Class nodes in it.

I must sound like a fool!
Unfortunately I don’t know of any way to cast to child blueprints. My next thought is that I can migrate the variables over to the parent then just set them in the child.

You might want to start with a couple of basic tutorials. I would recommend this one by Wes Bunn and this one by Zac. Both are Epic Content Creators so their videos are easy to follow and learn from. Both tutorials are part of the larger set of tutorials, so browse the YouTube Playlist to find sections you need the most.