Difference between revisions of "LlGetObjectDesc"
Jump to navigation
Jump to search
All Issues ~ Search JIRA for related Bugs
(Undo revision 432992 by Yosef Enoch (Talk) I believe you are a bit confused about where escape codes are handled.) |
m |
||
Line 5: | Line 5: | ||
|func_footnote | |func_footnote | ||
|func_desc | |func_desc | ||
|return_text=that is the description of the prim the script is attached to | |return_text=that is the description of the prim the script is attached to. | ||
|spec | |spec | ||
|caveats=*The prim 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. | |caveats=*The prim 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. |
Revision as of 18:07, 18 July 2009
LSL Portal | Functions | Events | Types | Operators | Constants | Flow Control | Script Library | Categorized Library | Tutorials |
Summary
Function: string llGetObjectDesc( );270 | Function ID |
0.0 | Forced Delay |
10.0 | Energy |
Returns a string that is the description of the prim the script is attached to.
Caveats
- The prim 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.
- Note that when people have Hover Tips on All Objects selected in the viewer's View menu, they'll see the object description pop-up for any object under their mouse pointer. For that reason, it is good practice to only set human-friendly information in the description (e.g. keys and such).
Examples
<lsl>default {
state_entry() { llSay(PUBLIC_CHANNEL, llGetObjectDesc() ); }}</lsl>
See Also
Functions
• | llSetObjectDesc | – | Sets the prim description. | |
• | llGetObjectName | – | Gets the prim name. | |
• | llSetObjectName | – | Sets the prim name. | |
• | llGetObjectDetails |
Articles
• | Limits | – | SL limits and constrictions | |
• | Prim Attribute Overloading |