(01-20-2011, 02:34 AM)Shev Wrote: I got another question regarding AI.
Does the monster put its patrol nodes as a priority over the player? Or if it see's the player it ignores its patrol nodes, and goes straight for him?
The way the nodes work is IF there is NO direct path to the player, it snaps to the nearest patrol node and runs along the node web until it finds a node that has a direct path to the player. I mean... when I say "it runs along" I mean the pathfinding algorithm, not the monster.
So yes... if it can run straight at you, it will ignore it's pathnodes.