<div dir="ltr"><br><div class="gmail_extra"><div class="gmail_quote"><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Subject: Re: [Opensim-users] Question about NPCs and attachments<br>
        (Chris)<br>
...<br>
<br>
Hmm I can't tell now. On the latest master the NPC rezzes in as a cloud<br>
and on the console I see this:<br>
<br>
14:06:35 - [NPC MODULE]: Created NPC<br>
8e0fd659-78a7-4e41-8187-d420d9d7e577 New NPC<br>
14:06:40 - [AVFACTORY]: user 8e0fd659-78a7-4e41-8187-d420d9d7e577 has no<br>
inventory, appearance isn't going to work<br>
<br>
It has been past experience though that it doesn't matter if I detach<br>
every thing first then reattach.<br>
<br>
I have seen that if I make a change to an attachment and then create an<br>
NPC that change won't be reflected on the NPC's version of the<br>
attachment until I first detach the attachment(s) and then reattach. But<br>
to my knowledge I've never been able to get an NPC to render correctly<br>
if it had more than one attachment on the same attach point (Such as<br>
Hair (skull), Hat (skull), Pants (Pelvis), Belt (Pelvis) ).<br>
<br></blockquote><div><br></div><div> I had not attempted multiple attachments for a while.  Testing this morning indicates that only the first attachment on each attach point will be saved and re-rez properly.   I cannot re-create your "it causes my NPC to be a cloud" problem.  For me, the NPC rezzes consistently with the single attachment.<br>
</div><div><br>I saw some interesting screen flashes while rezzing a bunch of the testbots.  On some of the rezzes it looked like the initial attachment occured, then  the second attachment was rezzed on the ground at the NPC's feet and then de-rezzed again promptly.   That may indicate the attachment was saved into the notecard and the osNPCgenerate function is the point of failure...<br>
<br></div><div>I have been using scripted attachments on NPCs for some time.  Outside of making sure the scripts can properly identify who they are attached to, and leaving a couple seconds between NPC rezzes to allow the scripted objects to initialize.  I haven't had any other issues...<br>
<br></div><div>d<br></div></div></div></div>