[Opensim-users] Sensors are not detecting NPC avatars on git r/17830
Trinity
trinity93 at gmail.com
Wed Jan 18 23:43:51 UTC 2012
try using the flag NPC
On Wed, Jan 18, 2012 at 7:21 AM, Chris <mewtwo0641 at cox.net> wrote:
> Hello all. I'm having a bit of trouble getting my sensor scripts to detect
> NPC's now on git r/17830.
>
> In my script I have tried using
>
> npc = osNpcCreate(firstname, lastname, pos, npc_note, OS_NPC_NOT_OWNED);
>
> as well as
>
> npc = osNpcCreate(firstname, lastname, pos, npc_note,
> OS_NPC_CREATOR_OWNED);
>
> to no avail. (firstname, lastname, pos, and npc_note are variables I've
> declared at the top of my script)
>
> 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).
>
> Am I doing something wrong?
>
> Thanks!
>
> --
> OpenSim: 9 Region Standalone on 0.7.3 Dev
> Physics: Open Dynamics Engine
> OS: Windows XP 32 Bit
> CPU: AMD Phenom II X4 840 3.2 GHz
> Memory: 3 GB DDR3
> Database: MySQL 5.1.11
>
>
> ______________________________**_________________
> Opensim-users mailing list
> Opensim-users at lists.berlios.de
> https://lists.berlios.de/**mailman/listinfo/opensim-users<https://lists.berlios.de/mailman/listinfo/opensim-users>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://opensimulator.org/pipermail/opensim-users/attachments/20120118/26c60857/attachment.html>
More information about the Opensim-users
mailing list