Welcome to the Second Life Forums Archive

These forums are CLOSED. Please visit the new forums HERE

script to return lost items?

Senuka Harbinger
A-Life, one bit at a time
Join date: 24 Oct 2005
Posts: 491
11-22-2005 12:37
I've been experimenting around with various "probes" that seek out people at random, follow them around, roam around on their own, etc. well, due to the very nature of a randomly moving object, I tend to lose quite a few of these while I'm trying to observe their behaviour in low and high target environments. any ideas on an easy way to call one of these things back if it gets outside of shouting range?
Strife Onizuka
Moonchild
Join date: 3 Mar 2004
Posts: 5,887
11-22-2005 12:40
send it an email.
_____________________
Truth is a river that is always splitting up into arms that reunite. Islanded between the arms, the inhabitants argue for a lifetime as to which is the main river.
- Cyril Connolly

Without the political will to find common ground, the continual friction of tactic and counter tactic, only creates suspicion and hatred and vengeance, and perpetuates the cycle of violence.
- James Nachtwey
Ziggy Puff
Registered User
Join date: 15 Jul 2005
Posts: 1,143
11-22-2005 12:41
You can code it into the object, so when it's rezzed it marks a "home" location with llGetPos. Then periodically check the current llGetPos against the home coordinates, and if the distance between the two is greater than some limit, either move back towards the home location, or die.

I'm not sure how you would call something once it's outside should range. You could send it an email, that's all I can think of.