Difference between revisions of "LlGetObjectName"
Jump to navigation
Jump to search
All Issues ~ Search JIRA for related Bugs
(EX) |
|||
Line 9: | Line 9: | ||
|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. | |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 | |constants | ||
|examples | |examples=<pre> | ||
default | |||
{ | |||
state_entry() | |||
{ | |||
llSay(PUBLIC_CHANNEL, llGetObjectName() ); | |||
} | |||
} | |||
</pre> | |||
|helpers | |helpers | ||
|also_functions= | |also_functions= |
Revision as of 15:10, 17 May 2007
LSL Portal | Functions | Events | Types | Operators | Constants | Flow Control | Script Library | Categorized Library | Tutorials |
Summary
Function: string llGetObjectName( );202 | Function ID |
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
default { state_entry() { llSay(PUBLIC_CHANNEL, llGetObjectName() ); } }
See Also
Functions
• | llSetObjectName | – | Set the prims name | |
• | llGetLinkName | – | Get a linked prims name | |
• | llGetObjectDesc | – | Get the prims description | |
• | llSetObjectDesc | – | Get the prims description |