[Opensim-users] Sensors are not detecting NPC avatars on git r/17830
Chris
mewtwo0641 at cox.net
Wed Jan 18 13:21:51 UTC 2012
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
More information about the Opensim-users
mailing list