try using the flag NPC On Wed, Jan 18, 2012 at 7:21 AM, Chris <[email protected]> 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 > [email protected] > https://lists.berlios.de/**mailman/listinfo/opensim-users<https://lists.berlios.de/mailman/listinfo/opensim-users> >
_______________________________________________ Opensim-users mailing list [email protected] https://lists.berlios.de/mailman/listinfo/opensim-users
