llSetObjectDesc
Revision as of 15:54, 9 June 2008 by Strife Onizuka (talk | contribs)
LSL Portal | Functions | Events | Types | Operators | Constants | Flow Control | Script Library | Categorized Library | Tutorials |
Caveats
- The object description is limited to 127 bytes, any string longer then that will be truncated.
- According to VWR-437 if you set the description to longer then 256 bytes the object may no longer be rezzable. Use caution if using this field to store data.
Examples
<lsl>//store the owner's name in the prim description default {
touch_start(integer total_number) { string temp;
temp = llKey2Name(llGetOwner());
llSetObjectDesc(temp); }}</lsl>
See Also
Functions
• | llGetObjectDesc | – | Gets the prim description. | |
• | llGetObjectName | – | Gets the prim name. | |
• | llSetObjectName | – | Sets the prim name. |
Articles
• | Prim Attribute Overloading |