<?xml version="1.0"?>
<?xml-stylesheet type="text/css" href="http://opensimulator.org/skins/common/feed.css?303"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>http://opensimulator.org/index.php?action=history&amp;feed=atom&amp;title=OsGetNumberOfAttachments</id>
		<title>OsGetNumberOfAttachments - Revision history</title>
		<link rel="self" type="application/atom+xml" href="http://opensimulator.org/index.php?action=history&amp;feed=atom&amp;title=OsGetNumberOfAttachments"/>
		<link rel="alternate" type="text/html" href="http://opensimulator.org/index.php?title=OsGetNumberOfAttachments&amp;action=history"/>
		<updated>2026-05-13T17:50:19Z</updated>
		<subtitle>Revision history for this page on the wiki</subtitle>
		<generator>MediaWiki 1.19.9</generator>

	<entry>
		<id>http://opensimulator.org/index.php?title=OsGetNumberOfAttachments&amp;diff=51900&amp;oldid=prev</id>
		<title>Ubit at 18:47, 1 January 2022</title>
		<link rel="alternate" type="text/html" href="http://opensimulator.org/index.php?title=OsGetNumberOfAttachments&amp;diff=51900&amp;oldid=prev"/>
				<updated>2022-01-01T18:47:41Z</updated>
		
		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table class='diff diff-contentalign-left'&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
			&lt;tr valign='top'&gt;
			&lt;td colspan='2' style=&quot;background-color: white; color:black;&quot;&gt;← Older revision&lt;/td&gt;
			&lt;td colspan='2' style=&quot;background-color: white; color:black;&quot;&gt;Revision as of 18:47, 1 January 2022&lt;/td&gt;
			&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 85:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 85:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;}&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;}&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;lt;/source&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;lt;/source&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;background: #ffa; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;|description=Returns a strided list of the specified attachment points and the number of attachments on those points&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;.&amp;#160; In OpenSimulator 0.7.5 development code only&lt;/del&gt;.&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;|description=Returns a strided list of the specified attachment points and the number of attachments on those points.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;|additional_info=This function was added in 0.7.5-post-fixes&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;|additional_info=This function was added in 0.7.5-post-fixes&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;}}&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;}}&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Ubit</name></author>	</entry>

	<entry>
		<id>http://opensimulator.org/index.php?title=OsGetNumberOfAttachments&amp;diff=48267&amp;oldid=prev</id>
		<title>Djphil: XEngine to OSSL</title>
		<link rel="alternate" type="text/html" href="http://opensimulator.org/index.php?title=OsGetNumberOfAttachments&amp;diff=48267&amp;oldid=prev"/>
				<updated>2019-11-07T14:27:44Z</updated>
		
		<summary type="html">&lt;p&gt;XEngine to OSSL&lt;/p&gt;
&lt;table class='diff diff-contentalign-left'&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
			&lt;tr valign='top'&gt;
			&lt;td colspan='2' style=&quot;background-color: white; color:black;&quot;&gt;← Older revision&lt;/td&gt;
			&lt;td colspan='2' style=&quot;background-color: white; color:black;&quot;&gt;Revision as of 14:27, 7 November 2019&lt;/td&gt;
			&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 1:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 1:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;{{osslfunc&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;{{osslfunc&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;|threat_level=Moderate&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;|threat_level=Moderate&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;background: #ffa; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;|permissions=${&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;XEngine&lt;/del&gt;&amp;amp;#124;osslParcelO}ESTATE_MANAGER,ESTATE_OWNER&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;|permissions=${&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;OSSL&lt;/ins&gt;&amp;amp;#124;osslParcelO}ESTATE_MANAGER,ESTATE_OWNER&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;|delay=0&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;|delay=0&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;|function_syntax=list osGetNumberOfAttachments(key avatar, list attachmentPoints);&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;|function_syntax=list osGetNumberOfAttachments(key avatar, list attachmentPoints);&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Djphil</name></author>	</entry>

	<entry>
		<id>http://opensimulator.org/index.php?title=OsGetNumberOfAttachments&amp;diff=46691&amp;oldid=prev</id>
		<title>Kcozens: Added note stating which version of OpenSim introduced this function</title>
		<link rel="alternate" type="text/html" href="http://opensimulator.org/index.php?title=OsGetNumberOfAttachments&amp;diff=46691&amp;oldid=prev"/>
				<updated>2018-10-15T16:51:26Z</updated>
		
		<summary type="html">&lt;p&gt;Added note stating which version of OpenSim introduced this function&lt;/p&gt;
&lt;table class='diff diff-contentalign-left'&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
			&lt;tr valign='top'&gt;
			&lt;td colspan='2' style=&quot;background-color: white; color:black;&quot;&gt;← Older revision&lt;/td&gt;
			&lt;td colspan='2' style=&quot;background-color: white; color:black;&quot;&gt;Revision as of 16:51, 15 October 2018&lt;/td&gt;
			&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 86:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 86:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;lt;/source&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;lt;/source&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;|description=Returns a strided list of the specified attachment points and the number of attachments on those points.&amp;#160; In OpenSimulator 0.7.5 development code only.&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;|description=Returns a strided list of the specified attachment points and the number of attachments on those points.&amp;#160; In OpenSimulator 0.7.5 development code only.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;background: #ffa; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;|&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;|&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;additional_info=This function was added in 0.7.5-post-fixes&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;}}&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;}}&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Kcozens</name></author>	</entry>

	<entry>
		<id>http://opensimulator.org/index.php?title=OsGetNumberOfAttachments&amp;diff=45648&amp;oldid=prev</id>
		<title>Kcozens: Added permissions and delay information</title>
		<link rel="alternate" type="text/html" href="http://opensimulator.org/index.php?title=OsGetNumberOfAttachments&amp;diff=45648&amp;oldid=prev"/>
				<updated>2017-10-25T16:02:51Z</updated>
		
		<summary type="html">&lt;p&gt;Added permissions and delay information&lt;/p&gt;
&lt;table class='diff diff-contentalign-left'&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
			&lt;tr valign='top'&gt;
			&lt;td colspan='2' style=&quot;background-color: white; color:black;&quot;&gt;← Older revision&lt;/td&gt;
			&lt;td colspan='2' style=&quot;background-color: white; color:black;&quot;&gt;Revision as of 16:02, 25 October 2017&lt;/td&gt;
			&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 1:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 1:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;{{osslfunc&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;{{osslfunc&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;|threat_level=Moderate&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;|threat_level=Moderate&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;color: red; font-weight: bold; text-decoration: none;&quot;&gt;|permissions=${XEngine&amp;amp;#124;osslParcelO}ESTATE_MANAGER,ESTATE_OWNER&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;color: red; font-weight: bold; text-decoration: none;&quot;&gt;|delay=0&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;|function_syntax=list osGetNumberOfAttachments(key avatar, list attachmentPoints);&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;|function_syntax=list osGetNumberOfAttachments(key avatar, list attachmentPoints);&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;|ossl_example=&amp;lt;source lang=&amp;quot;lsl&amp;quot;&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;|ossl_example=&amp;lt;source lang=&amp;quot;lsl&amp;quot;&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Kcozens</name></author>	</entry>

	<entry>
		<id>http://opensimulator.org/index.php?title=OsGetNumberOfAttachments&amp;diff=30797&amp;oldid=prev</id>
		<title>Justincc at 20:06, 14 September 2012</title>
		<link rel="alternate" type="text/html" href="http://opensimulator.org/index.php?title=OsGetNumberOfAttachments&amp;diff=30797&amp;oldid=prev"/>
				<updated>2012-09-14T20:06:52Z</updated>
		
		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table class='diff diff-contentalign-left'&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
			&lt;tr valign='top'&gt;
			&lt;td colspan='2' style=&quot;background-color: white; color:black;&quot;&gt;← Older revision&lt;/td&gt;
			&lt;td colspan='2' style=&quot;background-color: white; color:black;&quot;&gt;Revision as of 20:06, 14 September 2012&lt;/td&gt;
			&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 83:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 83:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;}&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;}&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;lt;/source&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;lt;/source&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;background: #ffa; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;|description=Returns a strided list of the specified attachment points and the number of attachments on those points.&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;|description=Returns a strided list of the specified attachment points and the number of attachments on those points&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;.&amp;#160; In OpenSimulator 0.7.5 development code only&lt;/ins&gt;.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;|&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;|&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;}}&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;}}&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Justincc</name></author>	</entry>

	<entry>
		<id>http://opensimulator.org/index.php?title=OsGetNumberOfAttachments&amp;diff=30755&amp;oldid=prev</id>
		<title>SignpostMarv: pasting in some documentation from mantis #6208</title>
		<link rel="alternate" type="text/html" href="http://opensimulator.org/index.php?title=OsGetNumberOfAttachments&amp;diff=30755&amp;oldid=prev"/>
				<updated>2012-09-12T09:05:56Z</updated>
		
		<summary type="html">&lt;p&gt;pasting in some documentation from mantis #6208&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{osslfunc&lt;br /&gt;
|threat_level=Moderate&lt;br /&gt;
|function_syntax=list osGetNumberOfAttachments(key avatar, list attachmentPoints);&lt;br /&gt;
|ossl_example=&amp;lt;source lang=&amp;quot;lsl&amp;quot;&amp;gt;&lt;br /&gt;
string NPCName = &amp;quot;osMessageAttachments&amp;quot;;&lt;br /&gt;
key npc;&lt;br /&gt;
&lt;br /&gt;
default&lt;br /&gt;
{&lt;br /&gt;
    state_entry()&lt;br /&gt;
    {&lt;br /&gt;
        llSensor(&amp;quot;&amp;quot;, NULL_KEY, OS_NPC, 96, TWO_PI);&lt;br /&gt;
    }&lt;br /&gt;
    &lt;br /&gt;
    sensor(integer d)&lt;br /&gt;
    {&lt;br /&gt;
        integer i;&lt;br /&gt;
        for(i=0;i&amp;lt;d;++i)&lt;br /&gt;
        {&lt;br /&gt;
            if(llDetectedName(i) == NPCName + &amp;quot; NPC&amp;quot;)&lt;br /&gt;
            {&lt;br /&gt;
                osNpcRemove(llDetectedKey(i));&lt;br /&gt;
            }&lt;br /&gt;
        }&lt;br /&gt;
        &lt;br /&gt;
        llSensor(&amp;quot;&amp;quot;, NULL_KEY, OS_NPC, 96, TWO_PI);&lt;br /&gt;
    }&lt;br /&gt;
&lt;br /&gt;
    no_sensor()&lt;br /&gt;
    {&lt;br /&gt;
        state ready;&lt;br /&gt;
    }&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
state ready&lt;br /&gt;
{&lt;br /&gt;
    state_entry()&lt;br /&gt;
    {&lt;br /&gt;
        npc = osNpcCreate(NPCName, &amp;quot;NPC&amp;quot;, llGetPos(), llGetOwner());&lt;br /&gt;
    }&lt;br /&gt;
&lt;br /&gt;
    touch_start(integer p)&lt;br /&gt;
    {&lt;br /&gt;
        integer i;&lt;br /&gt;
        integer wasNPC = FALSE;&lt;br /&gt;
        for(i=0;i&amp;lt;p;++i)&lt;br /&gt;
        {&lt;br /&gt;
            key detected = llDetectedKey(i);&lt;br /&gt;
            if(!wasNPC)&lt;br /&gt;
            {&lt;br /&gt;
                wasNPC = detected == npc;&lt;br /&gt;
            }&lt;br /&gt;
            list attachments = osGetNumberOfAttachments(detected, [&lt;br /&gt;
                ATTACH_HEAD,&lt;br /&gt;
                ATTACH_LHAND,&lt;br /&gt;
                ATTACH_RHAND&lt;br /&gt;
            ]);&lt;br /&gt;
            list attachmentsToMessage = [];&lt;br /&gt;
            integer j;&lt;br /&gt;
            integer k = llGetListLength(attachments);&lt;br /&gt;
            integer l;&lt;br /&gt;
            for(j=0;j&amp;lt;k;j+=2){&lt;br /&gt;
                l = llList2Integer(attachments, j);&lt;br /&gt;
                if(l &amp;gt; 0 &amp;amp;&amp;amp; llList2Integer(attachments, j + 1) &amp;gt; 0){&lt;br /&gt;
                    attachmentsToMessage += [l];&lt;br /&gt;
                }&lt;br /&gt;
            }&lt;br /&gt;
            osMessageAttachments(detected, &amp;quot;foo&amp;quot;, attachmentsToMessage, 0);&lt;br /&gt;
            osMessageAttachments(detected, &amp;quot;bar&amp;quot;, attachmentsToMessage, OS_ATTACH_MSG_INVERT_POINTS);&lt;br /&gt;
            osMessageAttachments(detected, &amp;quot;baz&amp;quot;, [OS_ATTACH_MSG_ALL], 0);&lt;br /&gt;
            osMessageAttachments(detected, &amp;quot;will never be sent&amp;quot;, [OS_ATTACH_MSG_ALL], OS_ATTACH_MSG_INVERT_POINTS);&lt;br /&gt;
&lt;br /&gt;
            osMessageAttachments(detected, &amp;quot;heard by both feet&amp;quot;, [ATTACH_LFOOT, ATTACH_RFOOT], 0);&lt;br /&gt;
            osMessageAttachments(detected, &amp;quot;heard by object creator feet&amp;quot;, [ATTACH_LFOOT, ATTACH_RFOOT], OS_ATTACH_MSG_OBJECT_CREATOR);&lt;br /&gt;
            osMessageAttachments(detected, &amp;quot;heard by script creator feet&amp;quot;, [ATTACH_LFOOT, ATTACH_RFOOT], OS_ATTACH_MSG_SCRIPT_CREATOR);&lt;br /&gt;
        }&lt;br /&gt;
        if(!wasNPC)&lt;br /&gt;
        {&lt;br /&gt;
            osNpcTouch(npc, llGetKey(), 0);&lt;br /&gt;
        }&lt;br /&gt;
    }&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
|description=Returns a strided list of the specified attachment points and the number of attachments on those points.&lt;br /&gt;
|&lt;br /&gt;
}}&lt;/div&gt;</summary>
		<author><name>SignpostMarv</name></author>	</entry>

	</feed>