Death!

Post » Sun Jun 14, 2015 6:57 pm

I have NPC's with slave collars and I'm running an OnDeath block on them to handle various things when they die, now when they die and if they still have their slave collars on I want to remove the collar but also call rSelf.KillActor 1 so I can remove the head and simulate the collar exploding. Will calling KillActor on an already dead NPC cause OnDeath to fire again?

User avatar
April D. F
 
Posts: 3346
Joined: Wed Mar 21, 2007 8:41 pm

Post » Sun Jun 14, 2015 8:45 pm

Why kill them twice? I don't see the gain. But would add health do it from your initial kill , Then you can use KillActor ?

err wait ... what if they were marked as essential for the first kill (get knocked unconcious) Remove that flag , then KillActor?

http://geck.gamesas.com/index.php?title=SetEssential

Arrg ... I'm assaulting you with wiki pages again :nerd:

User avatar
Harinder Ghag
 
Posts: 3405
Joined: Wed Jan 17, 2007 11:26 am

Post » Sun Jun 14, 2015 7:26 pm

Lol, If you call KillActor and use the optional flags you can induce dismemberment on a particular body part, in this case KillActor 1 should set the head to come off. The way my quests are working is that I need to remove the collar when they die but there need not have been any dismemberment happening. I want it so that it simulates the collar exploding because "it has sensed" the NPC has just died.

Edit.....Two can play at that game mister! http://geck.gamesas.com/index.php?title=KillActor :devil:

User avatar
Stephani Silva
 
Posts: 3372
Joined: Wed Jan 17, 2007 10:11 pm


Return to Fallout: New Vegas