Difference between revisions of "Template:LSL Constants/Object Details"

From Second Life Wiki
Jump to navigation Jump to search
(Kelly informed me that OBJECT_PRIM_EQUIVALENCE isn't yet supported, but should be added officially soon.)
m
Line 113: Line 113:
{{!}}{{LSL Const|OBJECT_PRIM_EQUIVALENCE|integer|13|c=Gets the prim equivalence of the object.}}
{{!}}{{LSL Const|OBJECT_PRIM_EQUIVALENCE|integer|13|c=Gets the prim equivalence of the object.}}
{{!}}{{#var:value}}
{{!}}{{#var:value}}
{{!}}Gets the prim equivalence of the object.<br/>'''Not yet supported (2011-09-27).''' This method is expected to be supported in the near future, but is not currently something that should be relied upon.
{{!}}'''Pre-release documentation'''<br/>Gets the prim equivalence of the object.
{{!}}(11 Characters)
{{!}}(11 Characters)
{{!}}[[integer]]
{{!}}[[integer]]
{{!}}[http://community.secondlife.com/t5/English-Knowledge-Base/Calculating-land-impact/ta-p/974163 Calculating land impact]
{{!}}
{{!}}
{{!}}-
{{!}}{{LSL Const|OBJECT_STREAMING_COST|integer||c=Gets the streaming (download) cost of the object.}}
{{!}}{{#var:value}}
{{!}}'''Pre-release documentation'''<br/>Gets the [[Mesh/Mesh_Streaming_Cost|streaming (download) cost]] of the object.
{{!}}(11 Characters)
{{!}}[[integer]]
{{!}}[[Mesh/Mesh_Streaming_Cost|Streaming (download) cost]]
{{!}}
{{!}}-
{{!}}{{LSL Const|OBJECT_PHYSICS_COST|integer||c=Gets the physics cost of the object.}}
{{!}}{{#var:value}}
{{!}}'''Pre-release documentation'''<br/>Gets the [[Mesh/Mesh_physics|physics cost]] of the object.
{{!}}(11 Characters)
{{!}}[[integer]]
{{!}}[[Mesh/Mesh_physics|Physics cost]]
{{!}}
{{!}}-
{{!}}{{LSL Const|SERVER_COST|integer||c=Gets the server cost of the object.}}
{{!}}{{#var:value}}
{{!}}'''Pre-release documentation'''<br/>Gets the [[Mesh/Mesh_Server_Weight|server cost]] of the object.
{{!}}(11 Characters)
{{!}}[[integer]]
{{!}}[[Mesh/Mesh_Server_Weight|Server cost]]
{{!}}
{{!}}
{{!}}- class="sortbottom"
{{!}}- class="sortbottom"

Revision as of 09:24, 19 October 2011

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
OBJECT_SCRIPT_TIME 12 Gets the total amount of average script CPU time used by the object or agent, in seconds. (15 Characters) float Top Scripts
OBJECT_PRIM_EQUIVALENCE 13 Pre-release documentation
Gets the prim equivalence of the object.
(11 Characters) integer Calculating land impact
OBJECT_STREAMING_COST Pre-release documentation
Gets the streaming (download) cost of the object.
(11 Characters) integer Streaming (download) cost
OBJECT_PHYSICS_COST Pre-release documentation
Gets the physics cost of the object.
(11 Characters) integer Physics cost
SERVER_COST Pre-release documentation
Gets the server cost of the object.
(11 Characters) integer Server cost
Max Lengths in parentheses represent how many characters required when it is typecast to a string.