<?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=Talk%3AOsNpcGetPos</id>
		<title>Talk:OsNpcGetPos - Revision history</title>
		<link rel="self" type="application/atom+xml" href="http://opensimulator.org/index.php?action=history&amp;feed=atom&amp;title=Talk%3AOsNpcGetPos"/>
		<link rel="alternate" type="text/html" href="http://opensimulator.org/index.php?title=Talk:OsNpcGetPos&amp;action=history"/>
		<updated>2026-05-06T14:26:18Z</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=Talk:OsNpcGetPos&amp;diff=45321&amp;oldid=prev</id>
		<title>Gwyneth Llewelyn: /* When using invalid NPC key, the return value is  */ new section</title>
		<link rel="alternate" type="text/html" href="http://opensimulator.org/index.php?title=Talk:OsNpcGetPos&amp;diff=45321&amp;oldid=prev"/>
				<updated>2017-07-30T16:33:36Z</updated>
		
		<summary type="html">&lt;p&gt;‎&lt;span dir=&quot;auto&quot;&gt;&lt;span class=&quot;autocomment&quot;&gt;When using invalid NPC key, the return value is: &lt;/span&gt; new section&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;== When using invalid NPC key, the return value is &amp;lt;0.000000, 0.000000, 0.000000&amp;gt; ==&lt;br /&gt;
&lt;br /&gt;
One annoying characteristic of osNpcGetPos() is that if you use an invalid NPC key, it will return &amp;lt;0.000000, 0.000000, 0.000000&amp;gt;, which is a '''valid''' position for an avatar to be (albeit a very strange and extreme one). So you should check first if the NPC key is valid, and only then make a request. (I believe that the same happens with osNpcGetRot()).&lt;br /&gt;
--[[User:Gwyneth Llewelyn|Gwyneth Llewelyn]] ([[User talk:Gwyneth Llewelyn|talk]]) 09:33, 30 July 2017 (PDT)&lt;/div&gt;</summary>
		<author><name>Gwyneth Llewelyn</name></author>	</entry>

	</feed>