<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content="text/html; charset=gb2312" http-equiv=Content-Type>
<STYLE>.hmmessage P {
PADDING-BOTTOM: 0px; MARGIN: 0px; PADDING-LEFT: 0px; PADDING-RIGHT: 0px; PADDING-TOP: 0px
}
BODY.hmmessage {
FONT-FAMILY: ΢ÈíÑźÚ; FONT-SIZE: 10pt
}
</STYLE>
<META name=GENERATOR content="MSHTML 8.00.6001.19154"></HEAD>
<BODY class=hmmessage bgColor=#ffffff>
<DIV><FONT face=Arial>1) Yes of course it is possible to "script" a NPC
individually.</FONT></DIV>
<DIV><FONT face=Arial> 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</FONT></DIV>
<DIV><FONT face=Arial>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.</FONT></DIV>
<DIV><FONT face=Arial></FONT> </DIV>
<DIV><FONT face=Arial>2) ??? I'll try that when I'll have a few
time</FONT></DIV>
<DIV><FONT face=Arial></FONT> </DIV>
<DIV><FONT face=Arial>GCI</FONT></DIV>
<BLOCKQUOTE
style="BORDER-LEFT: #000000 2px solid; PADDING-LEFT: 5px; PADDING-RIGHT: 0px; MARGIN-LEFT: 5px; MARGIN-RIGHT: 0px">
<DIV style="FONT: 10pt arial">----- Original Message ----- </DIV>
<DIV
style="FONT: 10pt arial; BACKGROUND: #e4e4e4; font-color: black"><B>From:</B>
<A title=tanlu_0912@hotmail.com href="mailto:tanlu_0912@hotmail.com">TanLu</A>
</DIV>
<DIV style="FONT: 10pt arial"><B>Sent:</B> Wednesday, December 07, 2011 9:30
AM</DIV>
<DIV style="FONT: 10pt arial"><B>Subject:</B> [Opensim-users] Inquiry about
OpenSim NPC</DIV>
<DIV><SPAN lang=EN-US>(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?
</SPAN></DIV>
<DIV dir=ltr>
<DIV>
<DIV dir=ltr>
<P id=ecxaeaoofnhgocdbnbeljkmbjdmhbcokfdb-mousedown class=ecxMsoNormal><SPAN
lang=EN-US><BR></SPAN></P>
<P id=ecxaeaoofnhgocdbnbeljkmbjdmhbcokfdb-mousedown class=ecxMsoNormal><SPAN
lang=EN-US>(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?</SPAN></P>
<P class=ecxMsoNormal><SPAN
lang=EN-US></SPAN> </P></DIV></DIV></DIV></BLOCKQUOTE></BODY></HTML>