Template:LSL Constants/Object Details

From Second Life Wiki
Revision as of 19:15, 16 December 2007 by Abigail Kohime (talk | contribs) (OBJECT_OWNER returns NULL_KEY if id is an avatar as well)
Jump to navigation Jump to search
Flags Description Max Length Return Alternatives
OBJECT_NAME 1 Gets the object's name. 63 Characters string
OBJECT_DESC 2 Gets the object's description.
If id is an avatar, an empty string is returned.
127 Characters string
OBJECT_POS 3 Gets the object's position in region coordinates. (36 Characters) vector
OBJECT_ROT 4 Gets the object's rotation. (48 Characters) rotation
OBJECT_VELOCITY 5 Gets the object's velocity. (36 Characters) vector
OBJECT_OWNER 6 Gets an object's owner's key.
If id is an avatar or sgroup owned, a NULL_KEY is returned.
(36 Characters) key
OBJECT_GROUP 7 Gets the prims's group key.
If id is an avatar, a NULL_KEY is returned.
(36 Characters) key Group
OBJECT_CREATOR 8 Gets the object's creator key.
If id is an avatar, a NULL_KEY is returned.
(36 Characters) key Creator

Max Lengths in parentheses represent how many characters required when it is typecast to a string.