Welcome to the Second Life Forums Archive

These forums are CLOSED. Please visit the new forums HERE

get position vector with key?

Ryken Redgrave
Registered User
Join date: 26 Dec 2006
Posts: 13
12-28-2006 02:10
Hello. :) Brand new to Second Life.

I'm looking for a function (or any method, really) that will let me get a position vector based on a key. eg, an object can easily call llGetOwner() to get the key for the owner... but I'm interested in the object being able to get a location vector on the owner. What's the best way to do this?

Thanks!
Ryken Redgrave
Registered User
Join date: 26 Dec 2006
Posts: 13
12-28-2006 02:18
Open mouth, insert foot.

At the risk of being gauche and responding to my own post, I found an answer. If the object does an llSensor* call, the sensor handler gets passed id numbers on the detected items, and the llDetectedGrab() function will return the position vector.

*sigh* If I'd only held out just a -little- longer before posting.
Phidian Krasner
SL Exotic Pets
Join date: 22 Dec 2006
Posts: 26
12-28-2006 12:28
I was also just searching for an answer to that very same question. I knew about using the sensor method but it seems a bit akward to do it that way... it gets more messy when your already using the sensor in loop mode.

If there is an alternative way (simpler) to accomplish that I would really appreciate it as well. :)

Thanks,
-Phid