Thanks! Also a bit late on my reply, sorry. Still catching up on some of the stuff I pushed forward due to my PhD work.
Yeah, I saw that. Thanks again!
I think there might be a naming conflict here that is causing trouble. There are two TargetIndex variables here. One is the one stored in the ability itself. Another is the one stored as a local variable in the function (blueprint functions automatically converts input variables to local variables). I think you’re using the TargetIndex variable of the main blueprint instead of the local one of the function. As the AI and player store the target index differently, I’m guessing this fails in one of the cases. This is my bad for not naming them differently. If you right click the graph and search for the TargetIndex variable select the lowest one that is least indented. That should be the local variant.