Original Post
The concept: Each "Thing of interest" on the map has an influence map. The AI looks at the info for the thing and responds (Or not) accordingly, either following the influence map towards it or away from it. The problem: How to build the influence map. I'm currently using "Breadth-first" search, but it's not optimal. The influence map has to spread, following the pathable sections of the map in the same way a character would move. The AI, the plan: Love and Fear/Hate based. It desires what it loves (Moves towards; activates; picks up), flees the "center of mass" of fear and attacks the greatest source of hate. It chooses which based on which has the greatest influence on it. Other characters will have influence maps, but probably not more than a 10 radius. The map: Typical room-and-hallway dungeon map with doors. The doors are currently the only points of interest; the AI seeks them out, opens them and then moves on to the next closest known door. It follows the influence maps to each door. Thanks for any and all help.