Difference between revisions of "Template:LSL Constants/Object Details"
Jump to navigation
Jump to search
(New page: {{{!}} class="sortable" {{Prettytable}} {{!}}-{{Hl2}} ! {{!}} Constant ! title="Value" {{!}} ! class="unsortable"{{!}} Description ! Return ! class="unsortable"{{!}} Alternatives {{!}}- {{...) |
|||
Line 1: | Line 1: | ||
{{{!}} class="sortable" {{Prettytable}} | {{{!}} class="sortable" {{Prettytable}} | ||
{{!}}-{{Hl2}} | {{!}}-{{Hl2}} | ||
! {{!}} | ! {{!}} Flags | ||
! title="Value" {{!}} | ! title="Value" {{!}} | ||
! class="unsortable"{{!}} Description | ! class="unsortable"{{!}} Description | ||
! Return | ! class="unsortable"{{!}} Max Length | ||
! Return Type | |||
! class="unsortable"{{!}} Alternatives | ! class="unsortable"{{!}} Alternatives | ||
{{!}}- | {{!}}- | ||
Line 10: | Line 11: | ||
{{!}}{{#var:value}} | {{!}}{{#var:value}} | ||
{{!}}{{#var:comment}} | {{!}}{{#var:comment}} | ||
{{!}}63 Characters | |||
{{!}}[[string]] | {{!}}[[string]] | ||
{{!}} | {{!}} | ||
Line 18: | Line 20: | ||
{{!}}{{#var:value}} | {{!}}{{#var:value}} | ||
{{!}}{{#var:comment}}<br/>If '''id''' is an avatar, an empty string is returned. | {{!}}{{#var:comment}}<br/>If '''id''' is an avatar, an empty string is returned. | ||
{{!}}127 Characters | |||
{{!}}[[string]] | {{!}}[[string]] | ||
{{!}} | {{!}} | ||
Line 24: | Line 27: | ||
{{!}}{{#var:value}} | {{!}}{{#var:value}} | ||
{{!}}{{#var:comment}} | {{!}}{{#var:comment}} | ||
{{!}}(36 Characters) | |||
{{!}}[[vector]] | {{!}}[[vector]] | ||
{{!}} | {{!}} | ||
Line 31: | Line 35: | ||
{{!}}{{#var:value}} | {{!}}{{#var:value}} | ||
{{!}}{{#var:comment}} | {{!}}{{#var:comment}} | ||
{{!}}(48 Characters) | |||
{{!}}[[rotation]] | {{!}}[[rotation]] | ||
{{!}} | {{!}} | ||
Line 38: | Line 43: | ||
{{!}}{{#var:value}} | {{!}}{{#var:value}} | ||
{{!}}{{#var:comment}} | {{!}}{{#var:comment}} | ||
{{!}}(36 Characters) | |||
{{!}}[[vector]] | {{!}}[[vector]] | ||
{{!}} | {{!}} | ||
Line 45: | Line 51: | ||
{{!}}{{#var:value}} | {{!}}{{#var:value}} | ||
{{!}}Gets an object's owner's key.<br/>If '''id''' is group owned, a {{LSL Const|NULL_KEY|key|"00000000-0000-0000-0000-000000000000"|c=Evaluates to false in conditionals just like invalid keys.}} is returned. | {{!}}Gets an object's owner's key.<br/>If '''id''' is group owned, a {{LSL Const|NULL_KEY|key|"00000000-0000-0000-0000-000000000000"|c=Evaluates to false in conditionals just like invalid keys.}} is returned. | ||
{{!}}(36 Characters) | |||
{{!}}[[key]] | {{!}}[[key]] | ||
{{!}} | {{!}} | ||
Line 53: | Line 60: | ||
{{!}}{{#var:value}} | {{!}}{{#var:value}} | ||
{{!}}{{#var:comment}}<br/>If '''id''' is an avatar, a {{LSL Const|NULL_KEY|key|"00000000-0000-0000-0000-000000000000"|c=Evaluates to false in conditionals just like invalid keys.}} is returned. | {{!}}{{#var:comment}}<br/>If '''id''' is an avatar, a {{LSL Const|NULL_KEY|key|"00000000-0000-0000-0000-000000000000"|c=Evaluates to false in conditionals just like invalid keys.}} is returned. | ||
{{!}}(36 Characters) | |||
{{!}}[[key]] | {{!}}[[key]] | ||
{{!}}{{LSLGC|Group}} | {{!}}{{LSLGC|Group}} | ||
Line 59: | Line 67: | ||
{{!}}{{#var:value}} | {{!}}{{#var:value}} | ||
{{!}}{{#var:comment}}<br/>If '''id''' is an avatar, a {{LSL Const|NULL_KEY|key|"00000000-0000-0000-0000-000000000000"|c=Evaluates to false in conditionals just like invalid keys.}} is returned. | {{!}}{{#var:comment}}<br/>If '''id''' is an avatar, a {{LSL Const|NULL_KEY|key|"00000000-0000-0000-0000-000000000000"|c=Evaluates to false in conditionals just like invalid keys.}} is returned. | ||
{{!}}(36 Characters) | |||
{{!}}[[key]] | {{!}}[[key]] | ||
{{!}}{{LSLGC|Creator}} | {{!}}{{LSLGC|Creator}} | ||
{{!}}} | {{!}}} | ||
Max Lengths in parentheses represent how many characters required when it is [[typecast]] to a string. |
Revision as of 10:23, 30 August 2007
Flags | Description | Max Length | Return Type | 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. | (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 group 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.