Template:LSL Constants/Object Details

From Second Life Wiki
Revision as of 21:56, 24 December 2009 by Dryea Foxdale (talk | contribs) (.. (At least it did for me --)
Jump to navigation Jump to search
Flags Description Max Length Return Alternatives Local
OBJECT_NAME 1 Gets the prim's name. 63 Characters string llGetObjectName
OBJECT_DESC 2 Gets the prim's description.
If id is an avatar, an empty string is returned.
127 Characters string llGetObjectDesc
OBJECT_POS 3 Gets the prim's position in region coordinates.
If id is an avatar outside the region (see above), this position is relative to the region the script is in.
(36 Characters) vector llGetPos
OBJECT_ROT 4 Gets the prim's rotation. (48 Characters) rotation llGetRot
OBJECT_VELOCITY 5 Gets the object's velocity. (36 Characters) vector llGetVel
OBJECT_OWNER 6 Gets an object's owner key.
If id is an avatar, that avatar's key is returned (which is the same as id).
If id is group-owned, a NULL_KEY is returned.
(36 Characters) key llGetOwner
OBJECT_GROUP 7 Gets the prim's group key.
If id is an avatar, a NULL_KEY is returned.
(36 Characters) key Group
OBJECT_CREATOR 8 Gets the prim's creator key.
If id is an avatar, a NULL_KEY is returned.
(36 Characters) key Creator llGetCreator
Max Lengths in parentheses represent how many characters required when it is typecast to a string.