Difference between revisions of "LlGetObjectDesc"

From Second Life Wiki
Jump to navigation Jump to search
Line 20: Line 20:
|helpers
|helpers
|also_functions=
|also_functions=
{{LSL DefineRow||{{LSLG|llSetObjectDesc}}|Sets the object description.}}
{{LSL DefineRow||[[llSetObjectDesc]]|Sets the object description.}}
{{LSL DefineRow||{{LSLG|llGetObjectName}}|Gets the object name.}}
{{LSL DefineRow||[[llGetObjectName]]|Gets the object name.}}
{{LSL DefineRow||{{LSLG|llSetObjectName}}|Sets the object name.}}
{{LSL DefineRow||[[llSetObjectName]]|Sets the object name.}}
|also_tests
{{LSL DefineRow||[[llGetObjectDetails]]}}
|also_events
|also_events
|also_articles=
|also_articles=

Revision as of 07:49, 30 August 2007

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();