Difference between revisions of "Template:LSL Constants/Object Details"
m (Fix typo + grammar) |
Gally Young (talk | contribs) m (multi lang) |
||
Line 1: | Line 1: | ||
{{{!}} class="sortable" {{Prettytable}} | {{Multi-lang}}{{{!}} class="sortable" {{Prettytable}} | ||
{{!}}-{{Hl2}} | {{!}}-{{Hl2}} | ||
! {{!}} Flags | ! {{!}} Flags |
Revision as of 13:46, 22 January 2008
{| class="sortable" border="2" cellspacing="0" cellpadding="3" rules="all" style="margin:1em 1em 1em 0; border:solid 1px #AAAAAA; border-collapse:collapse; background-color:#F9F9F9; font-size:90%; empty-cells:show; "
|-bgcolor="#00bfff" ! | Flags ! title="Value" | ! class="unsortable"| Description ! class="unsortable"| Max Length ! Return ! class="unsortable"| 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 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.