The Tamriel Rebuilt Project
  FAQ Forum FAQ     Usergroups Usergroups    Search Search    Memberlist Memberlist    Register Register
FAQ Tamriel Rebuilt FAQs    Objects of Tamriel TR Data 
  Profile Profile     Log in to check your private messages Log in to check your private messages     Log in Log in

Author
Message Post new topic Reply to topic
Meritocrat
Member
17 Aug 2009



(I'm sorry if this is the wrong place to post this, but I didn't know where to go)

Recently I have been trying to work on a necromancy mod that I thought could also function as a showcase mod, and I've been trying to find a way to pick up corpses of the dead, unsuccessfully. I know it can be done with activators (e.g. bedroll mods), but I don't know how or if this can be translated to npc bodies. Does anyone have any ideas how (or if?) this could be made possible?

Thanks in advance.
Post Sat Jul 10, 2010 10:34 pm Send private message             Reply with quote                   up  
Archanix
Member
14 Apr 2011

Location: Bly, OR.

I think know a way. This can be done with a dead corpse, a disabled unique skeleton (container type), and a global (TransferredCorpse) set to zero.

The script on the corpse should be something like this on the dead corpse:

Begin GotMyCorpse

if (OnActivate == 1)
Messagebox "Your evil undead minions will transfer this body to your evil lair." "OK"
set TransferredCorpse to 1
endif

end GotMyCorpse


-Now if I'm right, you probably want the corpse to be gone next time you enter the cell. In that case, I THINK this should do that. Insert this below the first 'endif'.

if (CellChanged == 1)
if (TransferredCorpse == 1)
Disable
endif
endif



Meanwhile, on the skeleton:

Begin CheckMyTransfer

Disable

if (TransferredCorpse == 1)
Enable
endif

end CheckMyTransfer


Try that. I'm just going with a guess, but I'm sure this should work with one corpse. Now if you were planning on doing this with every corpse... I don't think that is possible.
Post Mon Jun 27, 2011 5:46 am Send private message             Reply with quote                   up  
Haplo
Administrator
30 Aug 2003

Location: Celibacy

Moved to Off-Topic.
_________________
Head of Morrowind & Morrowind Data Files

[06/19/2012 04:15AM] <+Cat> table stabbing is apparently a really popular sport in morrowind
Post Mon Jun 27, 2011 2:03 pm Send private message             Reply with quote                   up  
Display posts from previous:   
Post new topic Reply to topic

 
The content of this site is © by the Tamriel Rebuilt community. Morrowind, its expansions, and its content is © Bethesda Softworks.
Forums powered by phpBB © 2001, 2005 phpBB Group