1) Yes of course it is possible to "script" a NPC individually.
   For that I use an object attached to the NPC and containing 1 or more 
scripts! It's a great idea to program a Listen/RegionSay between the NPC and 
the scipt of the "creator", for example to gather all NPC at a place, to stop 
or "go" them ... or ... to kill :( them
Note that (according to your project) : you can have several notecards in the 
same generator object to create NPC with different behaviors depending on the 
embedded scripts.

2) ??? I'll try that when I'll have a few time

GCI
  ----- Original Message ----- 
  From: TanLu 
  Sent: Wednesday, December 07, 2011 9:30 AM
  Subject: [Opensim-users] Inquiry about OpenSim NPC
  (1) I wander if the NPCs can be treated like an object, which can be 
scripted? Now, I can only use a NPC List in the main script to control several 
NPCs at once, and this leads to a lot of “for-loop”. Is it possible to make 
each NPC to have its own script, so that I can use the llRezObject function in 
the main script to generate NPCs with script? 



  (2) When I click the NPC under the building mode, the three axes appear as 
usual. But when I try to move the NPC by dragging it along the axis, the NPC 
disappears once I release the mouse button. Moreover, through the 
osGetAvatarList() function, I find the NPC is still in the region! I wander is 
this a bug on the current NPC function, or did I do something wrong?


_______________________________________________
Opensim-users mailing list
[email protected]
https://lists.berlios.de/mailman/listinfo/opensim-users

Reply via email to