Difference between revisions of "LlSetObjectName"

From Second Life Wiki
Jump to navigation Jump to search
m (Also added a note about linksets)
(The note was inaccurate, it was confusing the definition of object with prim.)
Line 30: Line 30:
|also_events
|also_events
|also_articles
|also_articles
|notes=*This function will change the name of the object that the script resides in regardless if the object is a root or a child prim inside of a linkset.
|notes
|cat1=Prim
|cat1=Prim
|cat2
|cat2

Revision as of 07:54, 31 August 2007

Summary

Function: llSetObjectName( string name );

Sets the prim's name according to the name parameter.

• string name

Limited to 63 bytes by the client

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.
All Issues ~ Search JIRA for related Bugs

Examples

default
{
    state_entry()
    {
        llSetObjectName("Object X");
    }
}

See Also

Functions

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

Deep Notes

Search JIRA for related Issues

Signature

function void llSetObjectName( string name );