<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>http://wiki.osgrid.org/index.php?action=history&amp;feed=atom&amp;title=LlGetObjectName</id>
	<title>LlGetObjectName - Revision history</title>
	<link rel="self" type="application/atom+xml" href="http://wiki.osgrid.org/index.php?action=history&amp;feed=atom&amp;title=LlGetObjectName"/>
	<link rel="alternate" type="text/html" href="http://wiki.osgrid.org/index.php?title=LlGetObjectName&amp;action=history"/>
	<updated>2026-10-25T11:11:55Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.43.11</generator>
	<entry>
		<id>http://wiki.osgrid.org/index.php?title=LlGetObjectName&amp;diff=161&amp;oldid=prev</id>
		<title>Osgridadmin: Created page with &quot;==Function: string llGetObjectName( );== Returns a string that is the name of the prim the script is attached to. &lt;br&gt;&lt;br&gt; &#039;&#039;&#039;Caveats&#039;&#039;&#039; &lt;br&gt; • The prim name is limited to 6...&quot;</title>
		<link rel="alternate" type="text/html" href="http://wiki.osgrid.org/index.php?title=LlGetObjectName&amp;diff=161&amp;oldid=prev"/>
		<updated>2017-12-31T22:50:47Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;==Function: string llGetObjectName( );== Returns a string that is the name of the prim the script is attached to. &amp;lt;br&amp;gt;&amp;lt;br&amp;gt; &amp;#039;&amp;#039;&amp;#039;Caveats&amp;#039;&amp;#039;&amp;#039; &amp;lt;br&amp;gt; • The prim name is limited to 6...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;==Function: string llGetObjectName( );==&lt;br /&gt;
Returns a string that is the name of the prim the script is attached to. &amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Caveats&amp;#039;&amp;#039;&amp;#039; &amp;lt;br&amp;gt;&lt;br /&gt;
• The prim name is limited to 63 bytes, any string longer than that will be truncated. This truncation does not always happen when the attribute is set or read.  &amp;lt;br&amp;gt; &amp;lt;br&amp;gt;&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Examples&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
{|border=&amp;quot;1&amp;quot; cellpadding=&amp;quot;5&amp;quot; cellspacing=&amp;quot;0&amp;quot;&lt;br /&gt;
|&amp;lt;source lang=&amp;quot;lsl&amp;quot;&amp;gt;&lt;br /&gt;
default&lt;br /&gt;
{&lt;br /&gt;
    state_entry()&lt;br /&gt;
    {&lt;br /&gt;
        llSay(PUBLIC_CHANNEL, llGetObjectName() );&lt;br /&gt;
    }&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Notes&amp;#039;&amp;#039;&amp;#039;  &amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
• This function may return &amp;quot;(Waiting)&amp;quot; sometimes.   &amp;lt;br&amp;gt;  &amp;lt;br&amp;gt;&lt;br /&gt;
Presumably the function queries the asset server for a predetermined time and returns &amp;quot;(Waiting)&amp;quot; if that elapses. It then silently proceeds to the next instruction. A work around therefore, might be to test object name is not &amp;quot;(Waiting)&amp;quot; after calling [[llGetObjectName]].  &amp;lt;br&amp;gt;  &amp;lt;br&amp;gt;&lt;br /&gt;
See Also  &amp;lt;br&amp;gt;&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Functions&amp;#039;&amp;#039;&amp;#039;  &amp;lt;br&amp;gt;&lt;br /&gt;
•  	[[llSetObjectName]] 	– 	Set the prims name 	  &amp;lt;br&amp;gt;&lt;br /&gt;
•  	[[llGetLinkName]] 	– 	Get a linked prims name 	  &amp;lt;br&amp;gt;&lt;br /&gt;
•  	[[llGetObjectDesc]] 	– 	Get the prims description 	  &amp;lt;br&amp;gt;&lt;br /&gt;
•  	[[llSetObjectDesc]] 	– 	Sets the prims description 	  &amp;lt;br&amp;gt;&lt;br /&gt;
•  	[[llGetObjectDetails]] 		  &amp;lt;br&amp;gt;  &amp;lt;br&amp;gt;&lt;/div&gt;</summary>
		<author><name>Osgridadmin</name></author>
	</entry>
</feed>