Hi,
I’m trying to create a basic monster AI which would start chasing the player when in line of sight and attack once it reaches the player.
I have followed the Behavior Tree Quick Start Guide and got the chasing working nicely. I have a custom character (one of the Mixamo pack) following me when in line of sight and it all works well.
Now I am attempting a play an animation on this character after he reaches the player (A Swing animation that the mixamo character has), but it simply doesnt play the animation and I’m unable to figure out how to get it to work.
In the RapidMoveTo task ( As seen in Step 10 https://docs.unrealengine.com/latest/INT/Engine/AI/BehaviorTrees/QuickStart/10/index.html) , I added a reference to the AI Character (named Imp Character) and I called a play animation on it after it reaches the player. (image attached). But this animation simply doesnt play, I even tried creating an Anim Montage and playing it, but that doesnt work either.
https://docs.unrealengine.com/latest/images/Engine/AI/BehaviorTrees/QuickStart/12/fullTree.jpg
I would ideally create an “Attack” task and have it run through the BT, but I’m just trying to test it before I extend it as its own BTTask.
I am able to call an animation on the character through the character’s Event Graph, but I’d like to be able to have this work through BTs.
I apologize if this is a very basic thing, but after several hours of searching the wiki, I’m yet to get a simple “Play animation” to work through a Behavior Tree/BTTask. Any help would be greatly appreciated, thanks!