VIDEO LINK FOR ISSUE
Basically when the “Attack” BP is called from the AI BP’s, the NPC gets stuck in their attack animation. The AI Blackboard labels the actor to chase and attack, once the attacking distance is reached the AI executes the “Attack” function. The “Attack” function is then called from the NPC’s BP and the Animation Variable Set Node connected to a AnimBP Bool Variable used in the “swipe” animation state, is connected to the “Attack” call in the NPC’s Event Graph.
I have been trying to solve this issue for awhile now, and I cannot seem to figure out where i need to put the variable or branch at to make my AI’s animation set back to idle/run depending on the movement or situation. I tried setting different conditions and branches at different points in the attack/attack animation function or execution but i cannot figure out exactly how to call another variable for the condition i.e. “IsAtLocation” boolean so that they return their animation back to idle or run.
Any help would be extremely appreciated since i have been trying to fix this issue for months now, and I just cant seem to fix it!