llSetObjectDesc

From Second Life Wiki
Jump to navigation Jump to search

Summary

Function: llSetObjectDesc( string desc );
0.0 Forced Delay
10.0 Energy

Sets the prims description

• string desc

Caveats

  • The object 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

//store the owner's name in the prim description
touch_start(integer total_number)
    {
        string temp;

        temp = llKey2Name(llGetOwner());

        llSetObjectDesc(temp);
    }

See Also

Functions

•  llGetObjectDesc Returns the object description.
•  llGetObjectName Gets the object name.
•  llSetObjectName Sets the object name.

Articles

•  Prim Attribute Overloading

Deep Notes

Signature

function void llSetObjectDesc( string desc );