Run OnHit on Corpses?

Post » Sat Feb 19, 2011 5:07 am

Does anyone know how to Run an OnHit block on a corpse? Or simulate it? I tried just the standard block, and got no results-- so unless this is a glitch at my end, it seems it does not work if the actor is dead...
User avatar
Alex Blacke
 
Posts: 3460
Joined: Sun Feb 18, 2007 10:46 pm

Post » Fri Feb 18, 2011 6:31 pm

True. Attached scripts do not run on dead actors. If a script is part of a magic effect, it only runs on the actor 'once' with no looping.
User avatar
Lil'.KiiDD
 
Posts: 3566
Joined: Mon Nov 26, 2007 11:41 am

Post » Sat Feb 19, 2011 8:46 am

I have done this for a dead dragon in my mod "Duke Patrick's Dragon and the Sword of Might".

The player had to hack into the stomach of the dragon to retrieve a quest ring.

You will need to look at my script in that mod for all of the details, but basically I used set pos on a special invisible and inaudible rat to hold the rat in the same place as the body of the dragon.


Does anyone know how to Run an OnHit block on a corpse? Or simulate it? I tried just the standard block, and got no results-- so unless this is a glitch at my end, it seems it does not work if the actor is dead...

User avatar
willow
 
Posts: 3414
Joined: Wed Jul 26, 2006 9:43 pm


Return to IV - Oblivion