Difference between revisions of "LlGetObjectDesc"

From Second Life Wiki
Jump to navigation Jump to search
(<lsl> example)
Line 9: Line 9:
|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.
|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.
|constants
|constants
|examples=<pre>
|examples=<lsl>default
default
{
{
     state_entry()
     state_entry()
Line 16: Line 15:
         llSay(PUBLIC_CHANNEL, llGetObjectDesc() );
         llSay(PUBLIC_CHANNEL, llGetObjectDesc() );
     }
     }
}
}</lsl>
</pre>
|helpers
|helpers
|also_functions=
|also_functions=

Revision as of 13:14, 16 February 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

<lsl>default {

   state_entry()
   {
       llSay(PUBLIC_CHANNEL, llGetObjectDesc() );
   }
}</lsl>

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