Delete NPCs after menu interaction

Post » Sat Nov 20, 2010 6:13 am

Delete NPCs after menu interaction.

In doing an add on for ENCLAVE COMMANDER .090, (Enclave Commander No Free Ride) I expanded somewhat the prisoner interrogation. When a prisoner is done being interacted with, I have it set up so they either stand up and run away or an pulse flash effect is created and they are deleted from the game. HOWEVER they always do not disappear and are still present but cannot be interacted with.

When I save and reload the game, the NPC is gone as they should be. So it seems the game DID disable them but not delete. This situation happens a bit too often and I wish to insure greater reliability of them disappearing from the game world.

I am curious about this: from scarecrow23

>>I actually got it by making a Fire Trap with different magic effects that had an Effect Script running that would disable then delete any reference it hits. <<

Would normal disable markfor delete code work in a script attached to the pulse flash effect or do I have to somehow add some other code so it disables deletes any reference it touches it somehow? Is there example of a script like this I can study ( did not see it in any of scarecrows mods)?
thanks
User avatar
Richard Dixon
 
Posts: 3461
Joined: Thu Jun 07, 2007 1:29 pm

Post » Fri Nov 19, 2010 10:06 pm

You could use MoveTo to move them to a "holding cell" of some kind, so it wouldn't matter much if they didn't get deleted.
User avatar
jessica robson
 
Posts: 3436
Joined: Mon Oct 09, 2006 11:54 am

Post » Sat Nov 20, 2010 5:18 am

You could use MoveTo to move them to a "holding cell" of some kind, so it wouldn't matter much if they didn't get deleted.



Thank you for the idea. After deletion, if the NPC is set to respawn, will they respawn in that cell?
User avatar
KU Fint
 
Posts: 3402
Joined: Mon Dec 04, 2006 4:00 pm


Return to Fallout 3

cron