View Full Version : npc sight to attack user
nitromaxboi
28.03.2006, 14:53
can anytell me where to set the sight for npc and how to set it whereby the npc would be able to see the players at a certain range so that it would attack the players
I think it's "agro_range" in npcdata.txt
nitromaxboi
31.03.2006, 06:22
i tried agro range but it didnt work
i don't know exactly what is but maybe you can compare orfen data with others mobs, orfen attacks u far away but maybe this function is in AI, i don't know, but you can try it.
darkkiss
31.03.2006, 12:19
i tried agro range but it didnt work
that's his agro range ... use SEARCH (https://postpacific.loc-online.com/forum/search.php), this is a forum!
hint:
func[InMyTerritory]
func[AddAttackDesire]
barabashka
31.03.2006, 12:21
Don't forget about
func[DistFromMe]
it also very usefull