[Script]Get damaged received by an actor

Post » Sat Apr 06, 2013 2:25 pm

Is there a function(that is hidden or not listed) that can get the amount of damage an actor received(after all reduction, the actual amount subtracted from actor's health).
Basically i have an magic effect with script attached to it. This script check the OnHit event and then take the damage the actor received(after all the reduction and stuff, like actual health they lost).
Then i want to add this amount to his health and max health(or is there another way to negate damage without negating the damage receive value to 0)
and then deal 20% of that as stamina damage to actor.
User avatar
sarah taylor
 
Posts: 3490
Joined: Thu Nov 16, 2006 3:36 pm

Return to V - Skyrim