[QUOTE=lucid] put the enemy in a family
we'll call the enemy sprite Badguy, and the family Blue, and your nearbyness radius we'll call Radius:
---Blue-Pick by comparison-distance(Blue.x,Blue.y,Badguy.x,Badguy.y) less than Radius
------Blue chases Player too[/QUOTE]
Now that's very elegant. lol
I was thinking of using distance() too, but I just couldn't get around the problem with the picking, since 'Badguy Sees Player' is already picking.
But using families is like referencing instances of a new object, so it works. Brilliant.Shindoh2012-02-22 10:35:59