I'm currently in the middle of writing some NPC AI. Nothing fancy, really just trying to stop them from banging into the scenery and each other (something I've not been able to reliably manage just using native AC)
I get the NPC Component on Start, and I can find out whether they're currently following a Path from isFollowingPath(), but I've not been able to find a similar function to determine if they're currently following the Player
As a hacky workround I've simply made followTargetIsPlayer Public in Char.cs for the time being, and I check that, but I'd really prefer a more formal mechanism if that's at all possible (and, as I said up top, I'd really prefer to know which particular character they're following, if any)
Comments