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

LSL Wiki : llSetObjectDesc

HomePage :: PageIndex :: RecentChanges :: RecentlyCommented :: UserSettings :: You are
llSetObjectDesc(string name)

Sets the description of the scripted prim to name. You can get the description using llGetObjectDesc.

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.

It's possible to see the description of a child prim by using the "Edit linked parts" editing option, so don't use this to store sensitive data.

See also llSetObjectName.

Note: V1.12 Pipe symbols don't work in the description field.
The pipe symbol doesn't work in object names either, this is because the format that LL uses for serializing inventory for transmission to the user, uses pipe as a separator. This was removed back in 1.5 or 1.6. -- BW

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]
Q: Seem to me the description is not persisten after detaching the object
-- (2007-10-10 09:34:20)
it doesn't only seem to be that way... sadly it is that way: check it by comparing the properties inworld and in your inventory...
-- (2007-12-20 13:23:19)
Attach a comment to this page: