Respawn NPC's after dying.

Post » Sat Nov 17, 2012 7:52 am

I need help with getting npc's to respawn or reset after death, for the mod im trying to creat. I would like to have a sort of never ending supply of Dwarven Sphere's and Spiders. I want them to keep coming out of the Dwarven ports, after one dies, like they are coming off an assembly line of sorts.

Now this is my first mod, and i have no little to no knowledge about scripting, all i was able to find on the subject is http://www.gamesas.com/topic/1357696-creating-a-never-ending-stream-of-enemies/page__fromsearch__1. I have tried that script and it just doesnt seem to work for some reason.

Any and all help would be much appreciated.
User avatar
Emmanuel Morales
 
Posts: 3433
Joined: Sat Oct 06, 2007 2:03 pm

Post » Fri Nov 16, 2012 6:32 pm

Bump
User avatar
AnDres MeZa
 
Posts: 3349
Joined: Thu Aug 16, 2007 1:39 pm

Post » Fri Nov 16, 2012 10:11 pm

ObjectReference Property WhereItShowsUp autoActorBase Property WhatShowsUp autoevent OnDeath(Actor akKiller)   WhereItShowsUp.PlaceActorAtMe(WhatShowsUp)endEvent
If you don't know what properties are, go look them up (especially how to initialize them).
User avatar
Ross
 
Posts: 3384
Joined: Thu Aug 10, 2006 7:22 pm

Post » Sat Nov 17, 2012 8:04 am

Thanks it works great!!! When one dies a new comes out of their port. There is just one problem though, it only works once and then its done. Meaning after the second one dies there is no third one. And for some reason the second one is not hostile until i atack it, however i believe thats probably due to the MasterAmbushScript, or the DefaultActivateSelf script on the activator.
User avatar
Lil Miss
 
Posts: 3373
Joined: Thu Nov 23, 2006 12:57 pm


Return to V - Skyrim