llSetObjectName
Revision as of 02:12, 31 August 2007 by Fox Diller (talk | contribs) (Also added a note about linksets)
LSL Portal | Functions | Events | Types | Operators | Constants | Flow Control | Script Library | Categorized Library | Tutorials |
Summary
Function: llSetObjectName( string name );203 | Function ID |
0.0 | Forced Delay |
10.0 | Energy |
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.
Examples
default { state_entry() { llSetObjectName("Object X"); } }
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.
See Also
Functions
• | llGetObjectName | – | Get the prims name | |
• | llGetLinkName | – | Get a linked prims name | |
• | llGetObjectDesc | – | Get the prims description | |
• | llSetObjectDesc | – | Set the prims description |