Welcome to the Second Life Forums Archive

These forums are CLOSED. Please visit the new forums HERE

Getting position of Owner.

XelNaga Gamba
Amateur Master Scripter
Join date: 12 Dec 2006
Posts: 20
01-24-2007 12:05
How can i get the position of the owner that does not require sencers.
i need somthing that looks like
if( llVecDist(llGetPos(), llGetOwnerPos() > 20)
{
Blah
}

But I cant think of any way to get the owners postion.
Talarus Luan
Ancient Archaean Dragon
Join date: 18 Mar 2006
Posts: 4,831
01-24-2007 12:14
If it is in an attachment, they you can use llGetRootPosition.

If it is a separate object, the only way is via llSensor.
XelNaga Gamba
Amateur Master Scripter
Join date: 12 Dec 2006
Posts: 20
01-24-2007 12:19
its not an attachment... its a free floater...
dang...
Ordinal Malaprop
really very ordinary
Join date: 9 Sep 2005
Posts: 4,607
01-24-2007 12:23
You could have the owner wear an attachment which tells the floating object where it is.
_____________________
http://ordinalmalaprop.com/forum/ - visit Ordinal's Scripting Colloquium for scripting discussion with actual working BBCode!

http://ordinalmalaprop.com/engine/ - An Engine Fit For My Proceeding, my Aethernet Journal

http://www.flickr.com/groups/slgriefbuild/ - Second Life Griefbuild Digest, pictures of horrible ad griefing and land spam, and the naming of names