Difference between revisions of "Template:LSL Constants/Object Details"
Jump to navigation
Jump to search
m |
m |
||
Line 7: | Line 7: | ||
! Return | ! Return | ||
! class="unsortable"{{!}} Alternatives | ! class="unsortable"{{!}} Alternatives | ||
! Local | |||
{{!}}- | {{!}}- | ||
{{!}}{{LSL Const|OBJECT_NAME|integer|1|c=Gets the prim's name.}} | {{!}}{{LSL Const|OBJECT_NAME|integer|1|c=Gets the prim's name.}} | ||
Line 16: | Line 17: | ||
*[[llKey2Name]] | *[[llKey2Name]] | ||
*[[llDetectedName]] | *[[llDetectedName]] | ||
{{!}} [[llGetObjectName]] | |||
{{!}}- | {{!}}- | ||
{{!}}{{LSL Const|OBJECT_DESC|integer|2|c=Gets the prim's description.}} | {{!}}{{LSL Const|OBJECT_DESC|integer|2|c=Gets the prim's description.}} | ||
Line 23: | Line 25: | ||
{{!}}[[string]] | {{!}}[[string]] | ||
{{!}} | {{!}} | ||
{{!}} [[llGetObjectDesc]] | |||
{{!}}- | {{!}}- | ||
{{!}}{{LSL Const|OBJECT_POS|integer|3|c=Gets the prim's position in region coordinates.}} | {{!}}{{LSL Const|OBJECT_POS|integer|3|c=Gets the prim's position in region coordinates.}} | ||
Line 31: | Line 34: | ||
{{!}} | {{!}} | ||
*[[llDetectedPos]] | *[[llDetectedPos]] | ||
{{!}} [[llGetPos]] | |||
{{!}}- | {{!}}- | ||
{{!}}{{LSL Const|OBJECT_ROT|integer|4|c=Gets the prim's rotation.}} | {{!}}{{LSL Const|OBJECT_ROT|integer|4|c=Gets the prim's rotation.}} | ||
Line 39: | Line 43: | ||
{{!}} | {{!}} | ||
*[[llDetectedRot]] | *[[llDetectedRot]] | ||
{{!}} [[llGetRot]] | |||
{{!}}- | {{!}}- | ||
{{!}}{{LSL Const|OBJECT_VELOCITY|integer|5|c=Gets the object's velocity.}} | {{!}}{{LSL Const|OBJECT_VELOCITY|integer|5|c=Gets the object's velocity.}} | ||
Line 47: | Line 52: | ||
{{!}} | {{!}} | ||
*[[llDetectedVel]] | *[[llDetectedVel]] | ||
{{!}} [[llGetVel]] | |||
{{!}}- | {{!}}- | ||
{{!}}{{LSL Const|OBJECT_OWNER|integer|6|c=Gets the object's owner key.}} | {{!}}{{LSL Const|OBJECT_OWNER|integer|6|c=Gets the object's owner key.}} | ||
Line 56: | Line 62: | ||
*[[llDetectedOwner]] | *[[llDetectedOwner]] | ||
*[[llGetOwnerKey]] | *[[llGetOwnerKey]] | ||
{{!}} [[llGetOwner]] | |||
{{!}}- | {{!}}- | ||
{{!}}{{LSL Const|OBJECT_GROUP|integer|7|c=Gets the prim's group key.}} | {{!}}{{LSL Const|OBJECT_GROUP|integer|7|c=Gets the prim's group key.}} | ||
Line 70: | Line 77: | ||
{{!}}[[key]] | {{!}}[[key]] | ||
{{!}}{{LSLGC|Creator}} | {{!}}{{LSLGC|Creator}} | ||
{{!}} [[llGetCreator]] | |||
{{!}}- class="sortbottom" | {{!}}- class="sortbottom" | ||
{{!}} colspan=" | {{!}} colspan="7" {{!}} Max Lengths in parentheses represent how many characters required when it is [[typecast]] to a string. | ||
{{!}} style="display:none;" {{!}} | |||
{{!}} style="display:none;" {{!}} | {{!}} style="display:none;" {{!}} | ||
{{!}} style="display:none;" {{!}} | {{!}} style="display:none;" {{!}} |
Revision as of 23:01, 22 June 2009
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. | (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. |