Complex reachability and making it apply to NPCs

I would call attention to this thread, where related issues were discussed at length: