Difference between revisions of "LlGetObjectDesc"
Jump to navigation
Jump to search
All Issues ~ Search JIRA for related Bugs
(<lsl> example) |
|||
Line 9: | Line 9: | ||
|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. | ||
|constants | |constants | ||
|examples=< | |examples=<lsl>default | ||
default | |||
{ | { | ||
state_entry() | state_entry() | ||
Line 16: | Line 15: | ||
llSay(PUBLIC_CHANNEL, llGetObjectDesc() ); | llSay(PUBLIC_CHANNEL, llGetObjectDesc() ); | ||
} | } | ||
} | }</lsl> | ||
</ | |||
|helpers | |helpers | ||
|also_functions= | |also_functions= |
Revision as of 14:14, 16 February 2008
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.
Examples
<lsl>default {
state_entry() { llSay(PUBLIC_CHANNEL, llGetObjectDesc() ); }}</lsl>
See Also
Functions
• | llSetObjectDesc | – | Sets the object description. | |
• | llGetObjectName | – | Gets the object name. | |
• | llSetObjectName | – | Sets the object name. | |
• | llGetObjectDetails |
Articles
• | Prim Attribute Overloading |