
Can someone help me figure out why this is failing?
Once this enemy detects the player, its supposed to use it's ability every 10 seconds, and while that's on cool down, move toward the player and melee attack them when they are in range. Right now, the AttackTarget task keeps firing over and over even though it's supposed to wait for the attack function to return the duration of the animation plus another 1 second delay. I have the check box for "ignore restart self" checked, assuming that would prevent it from triggering again before it finishes.
The strings being printed indicate the state of my "isInMeleeRange" bool, and when the attack task and attack functions are triggered.