Don't click here unless you want to be banned.

LSL Wiki : llGetObjectDesc

HomePage :: PageIndex :: RecentChanges :: RecentlyCommented :: UserSettings :: You are crawl427.us.archive.org
string llGetObjectDesc()

Returns the description of the scripted object/prim. You can set the description using llSetObjectDesc.

The description is limited to 127 characters.

Note: Prims in linked objects each have their own descriptions. Setting the description in the parent will not change that of any child prims, and vice-versa. There is no way to set the description of a different prim in the linkset; to do that, you need to use link messages. However, to get the description of a different prim in a linkset, you may either use link messages or llGetObjectDetails with llGetLinkKey.

See also llGetObjectName.

Q: How do I get the description of another object?
A: See llGetObjectDetails.

Notes:
*When an object's description is a blank string (), and you take it into inventory, SL automatically replaces the description with the string, "(No Description)". You can go into the object's properties in your inventory and change it back to blank () and it will stay that way. - Gistya

*Characters will be automatically escaped when read. ie. "/n" in the description will be read as //n by the script. -YosefEnoch



This article wasn't helpful for you? Maybe the related article at the LSL Portal is able to bring enlightenment.

Functions | Object | Prim
Comments [Hide comments/form]
Added "The description is limited to 127 characters."
Redundant since it's available under llSetObjectDesc, but there's no rule saying you can't have redundant info where it's applicable, is there?
-- RyozuKojima (2006-12-25 20:46:51)
nope, put it everywhere (that it would be appropriate). But it's probably not 127 characters, but 127 bytes. I will test this later.
(SL supports Unicode with UTF-8, which can use up to 6 bytes per character; ascii-7 as is, is included in utf-8, and only uses 1 byte per char).

Also pretty sure you can't have non-ascii descriptions & names. So it's probably moot.
-- BlindWanderer (2006-12-27 01:40:17)
Attach a comment to this page: