[Opensim-users] Sensors are not detecting NPC avatars on git r/17830

Chris mewtwo0641 at cox.net
Thu Jan 19 06:54:12 UTC 2012


Oh, good :) That worked like a charm.
Thank you very much Trinity!

On 1/18/2012 5:43 PM, Trinity wrote:
> try using the flag NPC
>
> On Wed, Jan 18, 2012 at 7:21 AM, Chris <mewtwo0641 at cox.net 
> <mailto: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 <mailto:Opensim-users at lists.berlios.de>
>     https://lists.berlios.de/mailman/listinfo/opensim-users
>
>
>
> _______________________________________________
> Opensim-users mailing list
> Opensim-users at lists.berlios.de
> https://lists.berlios.de/mailman/listinfo/opensim-users


-- 
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

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://opensimulator.org/pipermail/opensim-users/attachments/20120119/1a957b7e/attachment.html>


More information about the Opensim-users mailing list