<?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=LlGetLinkNumber</id>
	<title>LlGetLinkNumber - Revision history</title>
	<link rel="self" type="application/atom+xml" href="http://wiki.osgrid.org/index.php?action=history&amp;feed=atom&amp;title=LlGetLinkNumber"/>
	<link rel="alternate" type="text/html" href="http://wiki.osgrid.org/index.php?title=LlGetLinkNumber&amp;action=history"/>
	<updated>2026-10-25T11:50:17Z</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=LlGetLinkNumber&amp;diff=146&amp;oldid=prev</id>
		<title>Osgridadmin: Created page with &quot;==Function: integer llGetLinkNumber( );== Returns an integer that is the link number of the prim containing the script. &lt;br&gt;&lt;br&gt; 0 means the prim not linked, 1 the prim is the...&quot;</title>
		<link rel="alternate" type="text/html" href="http://wiki.osgrid.org/index.php?title=LlGetLinkNumber&amp;diff=146&amp;oldid=prev"/>
		<updated>2017-12-31T22:32:12Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;==Function: integer llGetLinkNumber( );== Returns an integer that is the link number of the prim containing the script. &amp;lt;br&amp;gt;&amp;lt;br&amp;gt; 0 means the prim not linked, 1 the prim is the...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;==Function: integer llGetLinkNumber( );==&lt;br /&gt;
Returns an integer that is the link number of the prim containing the script. &amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
0 means the prim not linked, 1 the prim is the root, 2 the prim is the first child, etc.&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;
• By design may equal llGetNumberOfPrims, e.g., when prim is last, object contains multiple prims, and no sitting avatars &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; &amp;lt;br&amp;gt;&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;
        llOwnerSay((string) llGetLinkNumber());&lt;br /&gt;
        llOwnerSay((string) llGetNumberOfPrims());&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;
See Also &amp;lt;br&amp;gt;&lt;br /&gt;
Functions &amp;lt;br&amp;gt;&lt;br /&gt;
•  	[[llGetKey]] 	 &amp;lt;br&amp;gt;		&lt;br /&gt;
•  	[[llGetNumberOfPrims]] 	&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;/div&gt;</summary>
		<author><name>Osgridadmin</name></author>
	</entry>
</feed>