02-04-2009, 03:06 PM
Look at the range code for the "attack on sight" npcs. That might be your problem. Then all you have to do is set the range when you edit the npc and then check if the player is in that range, get the direction in which that player is located, and go the opposite direction.
