Archived from groups: alt.games.neverwinter-nights (
More info?)
Actually, you can just give the character a "new" item that you need need
some sort of insane skills to detect. It wouldn't be an invisible item,
really, but rather a magical item that would be nearly impossible to see. I
think there are several ways of doing this. Using the SetIsDestroyable
function on the corpse? I think that will keep the corpse from
disappearing, but it may not allow you to interact with the corpse. Not
sure.
-Ned
"John Salerno" <johnjsal@NOSPAMgmail.com> wrote in message
news:W8-dnYXfmrgz-pnfRVn-rQ@rcn.net...
> John Salerno wrote:
>> Kharsis wrote:
>>
>>>John Salerno wrote:
>>>
>>>
>>>>Does anyone know how to keep the body of an NPC in the game, so that you
>>>>can interact with it later? I want someone to be resurrectable, but his
>>>>body disappears after it's looted.
>>>>
>>>>Thanks.
>>>
>>>In some modules I have seen an item for abody vreated on the corpse - The
>>>Shadoweaver modules esp the 2nd and 3rd one had this feature.
>>>
>>>Sorry can't be of more help haven't tried writing modules for NWN yet.
>>>
>>>Kharsis
>>
>>
>> You mean something to always give the body an inventory, so it won't
>> disappear? I've thought about doing something like that, but it would
>> have to be something the PC can't take. I don't know if it's possible to
>> make an invisible item.
>
> Well, I found out about the SetIsDestroyable() function, which seems to be
> the proper way to do it.