Welcome to the Second Life Forums Archive

These forums are CLOSED. Please visit the new forums HERE

Moving an object to issuer of command?

TanRu Lumpen
Registered User
Join date: 27 May 2006
Posts: 3
03-04-2007 14:19
I'm trying to write a script to move an object to whoever issued a command. I've got the listen working correctly - the only thing I can't figure out is how to get the position of the speaker.

Ideally I'd want to llSetPos(llGetPos(key)) but there's no llGetPos(key).

Can someome ponit me in the right direction? Thanks a lot!
ed44 Gupte
Explorer (Retired)
Join date: 7 Oct 2005
Posts: 638
03-04-2007 18:21
You may need to issue an llSensor command and put this in the sensor event.
http://wiki.secondlife.com/wiki/LlDetectedPos
TanRu Lumpen
Registered User
Join date: 27 May 2006
Posts: 3
03-04-2007 18:42
Ah, I see. I'll give that a try, thank you.

(If there is a more direct method I'd love to hear about it.)
TanRu Lumpen
Registered User
Join date: 27 May 2006
Posts: 3
03-05-2007 16:37
Worked perfectly, thanks a lot!