04-17-2012, 05:11 PM
In fact we have used it (the original C version I posted earlier) in a game we have yet to release in the IA of one kind of enemy: if the player is close enough, such kind of enemy start chasing the player. If the player "escapes" (goes a little bit further) the enemy stops chasing and return to its spawning spot. And it works a threat!