Difference between revisions of "Template:LSL Constants/Object Details"
Jump to navigation
Jump to search
("can't happen" but it was making me twitchy) |
(caught up on other channels) |
||
Line 81: | Line 81: | ||
{{!}}{{LSL Const|OBJECT_RUNNING_SCRIPT_COUNT|integer|9|c=Gets the number of running scripts attached to the object or agent.}} | {{!}}{{LSL Const|OBJECT_RUNNING_SCRIPT_COUNT|integer|9|c=Gets the number of running scripts attached to the object or agent.}} | ||
{{!}}{{#var:value}} | {{!}}{{#var:value}} | ||
{{!}}Gets the number of [[llGetScriptState|running]] scripts attached to the object or agent. | {{!}}Gets the number of [[llGetScriptState|running]] scripts attached to the object or agent. | ||
{{!}}(11 Characters) | {{!}}(11 Characters) | ||
{{!}}[[integer]] | {{!}}[[integer]] | ||
Line 89: | Line 89: | ||
{{!}}{{LSL Const|OBJECT_TOTAL_SCRIPT_COUNT|integer|10|c=Gets the number of scripts, both running and stopped, attached to the object or agent.}} | {{!}}{{LSL Const|OBJECT_TOTAL_SCRIPT_COUNT|integer|10|c=Gets the number of scripts, both running and stopped, attached to the object or agent.}} | ||
{{!}}{{#var:value}} | {{!}}{{#var:value}} | ||
{{!}}Gets the number of scripts, both running and stopped, attached to the object or agent. | {{!}}Gets the number of scripts, both running and stopped, attached to the object or agent. | ||
{{!}}(11 Characters) | {{!}}(11 Characters) | ||
{{!}}[[integer]] | {{!}}[[integer]] | ||
Line 97: | Line 97: | ||
{{!}}{{LSL Const|OBJECT_SCRIPT_MEMORY|integer|11|c=Gets the total amount of script memory allocated to the object or agent, in bytes.}} | {{!}}{{LSL Const|OBJECT_SCRIPT_MEMORY|integer|11|c=Gets the total amount of script memory allocated to the object or agent, in bytes.}} | ||
{{!}}{{#var:value}} | {{!}}{{#var:value}} | ||
{{!}}Gets the total amount of [[LSL Script Memory|script memory]] allocated to the object or agent, in bytes. | {{!}}Gets the total amount of [[LSL Script Memory|script memory]] allocated to the object or agent, in bytes. | ||
{{!}}(11 Characters) | {{!}}(11 Characters) | ||
{{!}}[[integer]] | {{!}}[[integer]] |
Revision as of 17:45, 8 December 2010
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. If id is an avatar outside the region (see above), this position is relative to the region the script is running in. |
(37 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 |
OBJECT_RUNNING_SCRIPT_COUNT | 9 | Gets the number of running scripts attached to the object or agent. | (11 Characters) | integer | llGetScriptState | |
OBJECT_TOTAL_SCRIPT_COUNT | 10 | Gets the number of scripts, both running and stopped, attached to the object or agent. | (11 Characters) | integer | llGetInventoryNumber | |
OBJECT_SCRIPT_MEMORY | 11 | Gets the total amount of script memory allocated to the object or agent, in bytes. | (11 Characters) | integer | ||
Max Lengths in parentheses represent how many characters required when it is typecast to a string. |