Difference between revisions of "Template:LSL Constants/Object Details"
Jump to navigation
Jump to search
m |
m |
||
Line 50: | Line 50: | ||
{{!}}{{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.}} | ||
{{!}}{{#var:value}} | {{!}}{{#var:value}} | ||
{{!}}Gets an object's owner | {{!}}Gets an object's {{LSLGC|Owner|owner}} key.<br/>If '''id''' is group-owned or an avatar, a {{LSL Constant/NULL_KEY}} is returned. | ||
{{!}}(36 Characters) | {{!}}(36 Characters) | ||
{{!}}[[key]] | {{!}}[[key]] | ||
Line 59: | Line 59: | ||
{{!}}{{LSL Const|OBJECT_GROUP|integer|7|c=Gets the prims's group key.}} | {{!}}{{LSL Const|OBJECT_GROUP|integer|7|c=Gets the prims's group key.}} | ||
{{!}}{{#var:value}} | {{!}}{{#var:value}} | ||
{{!}}{{ | {{!}}Gets the prims's {{LSLGC|Group|group}} key.<br/>If '''id''' is an avatar, a {{LSL Constant/NULL_KEY}} is returned. | ||
{{!}}(36 Characters) | {{!}}(36 Characters) | ||
{{!}}[[key]] | {{!}}[[key]] | ||
Line 66: | Line 66: | ||
{{!}}{{LSL Const|OBJECT_CREATOR|integer|8|c=Gets the object's creator key.}} | {{!}}{{LSL Const|OBJECT_CREATOR|integer|8|c=Gets the object's creator key.}} | ||
{{!}}{{#var:value}} | {{!}}{{#var:value}} | ||
{{!}}{{ | {{!}}Gets the object's {{LSLGC|Creator|creator}} key.<br/>If '''id''' is an avatar, a {{LSL Constant/NULL_KEY}} is returned. | ||
{{!}}(36 Characters) | {{!}}(36 Characters) | ||
{{!}}[[key]] | {{!}}[[key]] | ||
Line 72: | Line 72: | ||
{{!}}- class="sortbottom" | {{!}}- class="sortbottom" | ||
{{!}} colspan="6" {{!}} Max Lengths in parentheses represent how many characters required when it is [[typecast]] to a string. | {{!}} colspan="6" {{!}} 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 12:58, 25 May 2008
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 key. If id is group-owned or an avatar, 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. |