View Single Post
Old 21/09/2018, 01:01 PM   #2
CodeStyle175
Banned
 
Join Date: Apr 2014
Posts: 455
Reputation: 35
Default Re: NPC chase the nearest player

you create timer what loops throw players, when player is near to npc for example 5.0 units, then npc idle state changes to walk state and npc starts to follow player.
CodeStyle175 is offline   Reply With Quote