try using the flag NPC<br><br><div class="gmail_quote">On Wed, Jan 18, 2012 at 7:21 AM, Chris <span dir="ltr"><<a href="mailto:mewtwo0641@cox.net">mewtwo0641@cox.net</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hello all. I'm having a bit of trouble getting my sensor scripts to detect NPC's now on git r/17830.<br>
<br>
In my script I have tried using<br>
<br>
npc = osNpcCreate(firstname, lastname, pos, npc_note, OS_NPC_NOT_OWNED);<br>
<br>
as well as<br>
<br>
npc = osNpcCreate(firstname, lastname, pos, npc_note, OS_NPC_CREATOR_OWNED);<br>
<br>
to no avail. (firstname, lastname, pos, and npc_note are variables I've declared at the top of my script)<br>
<br>
The NPC shows up fine and seems to react the way I expect it to except it won't show up in any of my scripts that utilize sensors. The sensor scripts will detect a non NPC avatar just fine and interact with a non NPC avatar the way I scripted it to. I was not having this issue prior to the git commits that introduced owner checking on the NPCs. I know that for a little while this was disabled but it was reintroduced in commit d27dd3 (r/17792).<br>

<br>
Am I doing something wrong?<br>
<br>
Thanks!<br>
<br>
-- <br>
OpenSim: 9 Region Standalone on 0.7.3 Dev<br>
Physics: Open Dynamics Engine<br>
OS: Windows XP 32 Bit<br>
CPU: AMD Phenom II X4 840 3.2 GHz<br>
Memory: 3 GB DDR3<br>
Database: MySQL 5.1.11<br>
<br>
<br>
______________________________<u></u>_________________<br>
Opensim-users mailing list<br>
<a href="mailto:Opensim-users@lists.berlios.de" target="_blank">Opensim-users@lists.berlios.de</a><br>
<a href="https://lists.berlios.de/mailman/listinfo/opensim-users" target="_blank">https://lists.berlios.de/<u></u>mailman/listinfo/opensim-users</a><br>
</blockquote></div><br>