Difference between revisions of "LlGetObjectDesc"

From Second Life Wiki
Jump to navigation Jump to search
(<lsl> example)
m
Line 18: Line 18:
|helpers
|helpers
|also_functions=
|also_functions=
{{LSL DefineRow||[[llSetObjectDesc]]|Sets the object description.}}
{{LSL DefineRow||[[llSetObjectDesc]]|Sets the prim description.}}
{{LSL DefineRow||[[llGetObjectName]]|Gets the object name.}}
{{LSL DefineRow||[[llGetObjectName]]|Gets the prim name.}}
{{LSL DefineRow||[[llSetObjectName]]|Sets the object name.}}
{{LSL DefineRow||[[llSetObjectName]]|Sets the prim name.}}
{{LSL DefineRow||[[llGetObjectDetails]]}}
{{LSL DefineRow||[[llGetObjectDetails]]}}
|also_events
|also_events

Revision as of 14:54, 9 June 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 prim description.
•  llGetObjectName Gets the prim name.
•  llSetObjectName Sets the prim name.
•  llGetObjectDetails

Articles

•  Prim Attribute Overloading

Deep Notes

Signature

function string llGetObjectDesc();