Welcome to the Second Life Forums Archive

These forums are CLOSED. Please visit the new forums HERE

Finding avatar positions

Kaz Gomez
Junior Member
Join date: 2 Sep 2004
Posts: 2
09-25-2004 18:15
OK, I've got a list of avatar keys and I want to find the position of each and do some tests. I've been looking for some function allowing this, but I can't seem to locate it!

Basically, I'm trying to find/write a getPosOf(key object) function.

Is there any way to do this other than sensors? This script already has an llSensorRepeat, I can modify that to do this if absolutely needed, but I had hoped there was a simpler alternative.

Thanks in advance,
Kaz.
Strife Onizuka
Moonchild
Join date: 3 Mar 2004
Posts: 5,887
09-25-2004 19:55
nope, no easy solution. Have to use an event that returns llDetectedPos() (like sensor) but you can verify they are still in the sim with llKey2Name() by making sure it doesn't return a null string
_____________________
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
Kaz Gomez
Junior Member
Join date: 2 Sep 2004
Posts: 2
09-25-2004 20:49
Very well, sensors it is, I suppose.

Thanks.