Difference between revisions of "LlGetObjectName"

From Second Life Wiki
Jump to navigation Jump to search
m
Line 7: Line 7:
|return_text=that is the name of the prim the script is attached to.
|return_text=that is the name of the prim the script is attached to.
|spec
|spec
|caveats
|caveats=*The prim name is limited to 255 bytes, any string longer then that will be truncated. This truncation does not always happen when the attribute is set or read.
|constants=*The prim name is limited to 255 bytes, any string longer then that will be truncated. This truncation does not always happen when the attribute is set or read.
|constants
|examples
|examples
|helpers
|helpers

Revision as of 13:42, 5 May 2007

Summary

Function: string llGetObjectName( );
0.0 Forced Delay
10.0 Energy

Returns a string that is the name of the prim the script is attached to.

Caveats

  • The prim name is limited to 255 bytes, any string longer then that will be truncated. This truncation does not always happen when the attribute is set or read.

Examples

See Also

Functions

•  llSetObjectName Set the prims name
•  llGetLinkName Get a linked prims name
•  llGetObjectDesc Get the prims description
•  llSetObjectDesc Get the prims description

Deep Notes

Signature

function string llGetObjectName();