function
Function syntax
string llGetObjectDesc();- Returns
string- Energy
- 10
To get the object’s description (not the current prim’s), use PRIM_DESC or OBJECT_DESC.
Returns a string containing the description of the prim the script is attached to.
string result = llGetObjectDesc();Caveats
Section titled “Caveats”Examples
Section titled “Examples”| Get this prim’s description |
|---|
|
| Get the root prim’s description |
|---|
|
See also
Section titled “See also”Functions
Section titled “Functions”llSetObjectDesc— Sets the prim description.llGetObjectName— Gets the prim name.llSetObjectName— Sets the prim name.llGetObjectDetails
Articles
Section titled “Articles”Original wiki source
Some wiki templates and tables need their original context. View this article on the Second Life Wiki. Technical wording and examples are retained from the source; historical guidance may differ from current behavior.