// When an avatar gets near this (75 meters, a looong way, it sends a @pause command to the controller. This will make it continue from an @stop.
// when no one is araound, it sends a @delete to remove the NPC. It sends these once per avatar presence.
// :CODE:
float distance = 75; // keep this distance short - in my case, we are on a broad plain and we need to notice the avatar from a long distance, but not often.
float time = 30; // keep this long.
// toggle if a person is there or not so we can detect the edge condition