Difference between revisions of "LlGetObjectDesc"

From Second Life Wiki
Jump to navigation Jump to search
Line 29: Line 29:
|notes
|notes
|cat1=Prim
|cat1=Prim
|cat2
|cat2=Object
|cat3
|cat3
|cat4
|cat4
}}
}}

Revision as of 09:01, 15 January 2008

Summary

Function: string llGetObjectDesc( );
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

default
{
    state_entry()
    {
        llSay(PUBLIC_CHANNEL, llGetObjectDesc() );
    }
}

See Also

Functions

•  llSetObjectDesc Sets the object description.
•  llGetObjectName Gets the object name.
•  llSetObjectName Sets the object name.
•  llGetObjectDetails

Articles

•  Prim Attribute Overloading

Deep Notes

Signature

function string llGetObjectDesc();