Quote:
Originally Posted by blackbeltben
I got it to follow. But it glitches up with two players. Is there a way I can get it to pick a player to follow.
|
You need to start applying a little logic and problem solving.
What can you do to store information? What can you do to check the status of said stored information before proceeding to do other things?
If you find a player then store the player's account/object as the NPCs current interest. If the NPC has an interest then proceed to track ONLY that player. If it has no interest then LOOK for a new player to hunt down(with findnearestplayer).