Hey, if you are ready to get into Unreal, there's a built in AI support for NPCs.. I've used in my game Roxroria. You may check more on Unreal documentation. Pls ignore, if this doesn't help your situation.