llGetObjectDetails
Revision as of 17:54, 29 August 2007 by Strife Onizuka (talk | contribs) (New page: {{LSL_Function/object|id|object|sim=*}} {{LSL_Function |func_id=332|func_sleep=0.0|func_energy=10.0 |func=llGetObjectDetails |p1_type=key|p1_name=id |p2_type=list|p2_name=params|p2_desc=OB...)
Deletion Requested |
---|
The deletion of this article was requested for the following reason: Template is no longer used and it's creator thinks it does not function properly. |
If there is a need to discuss the deletion of this article, please add your comment(s) here. |
LSL Portal | Functions | Events | Types | Operators | Constants | Flow Control | Script Library | Categorized Library | Tutorials |
Summary
Function: llGetObjectDetails( key id, list params );332 | Function ID |
0.0 | Forced Delay |
10.0 | Energy |
Gets the object details specified in params for the object with key id.
• key | id | |||
• list | params | – | OBJECT_* flags |
OBJECT_UNKNOWN_DETAIL is returned when passed an invalid object parameter type.
Constant | Description | |
---|---|---|
OBJECT_NAME | 1 | Gets an object's name. |
OBJECT_DESC | 2 | Gets an object's description. |
OBJECT_POS | 3 | Gets an object's position. |
OBJECT_ROT | 4 | Gets an object's rotation. |
OBJECT_VELOCITY | 5 | Gets an object's velocity. |
OBJECT_OWNER | 6 | Gets an object's owner's key. Will be NULL_KEY if group owned. |
OBJECT_GROUP | 7 | Gets an object's group's key. |
OBJECT_CREATOR | 8 | Gets an object's creator's key. |
Caveats
- The result of calling this function on an object that does not exist or a non-root prim is undefined.
Examples