Difference between revisions of "LlSetObjectDesc"
Jump to navigation
Jump to search
All Issues ~ Search JIRA for related Bugs
Line 30: | Line 30: | ||
|also_tests | |also_tests | ||
|also_events | |also_events | ||
|also_articles | |also_articles= | ||
| | {{LSL DefineRow||[[Prim Attribute Overloading]]}} | ||
|notes | |||
|cat1=Prim | |cat1=Prim | ||
|cat2 | |cat2 |
Revision as of 22:52, 16 June 2007
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. This truncation does not always happen when the attribute is set or read.
Examples
//store the owner's name in the prim description touch_start(integer total_number) { string temp; temp = llKey2Name(llGetOwner()); llSetObjectDesc(temp); }
See Also
Functions
• | llGetObjectDesc | – | Returns the object description. | |
• | llGetObjectName | – | Gets the object name. | |
• | llSetObjectName | – | Sets the object name. |
Articles
• | Prim Attribute Overloading |