Hi Guys,
I am starting into some Modding for Skyrim - something simple like a new weapon etc.
I have an idea for a weapon, but I am unsure how to achieve an onBlock hit event.
I have an idea that while I am blocking, if an attacker hits my sword, then my stamina could be used to unleash a concussive blast on the attacker. (Eg: to knock them back a little)
I am unsure how to apply an onHit event for the sword - given that when it is held by me, It becomes part of my skeleton. So wouldn't I need to make it 'When my character is hit, and I am blocking, and my stamina is > X'.
So how do I do an onHit for my character?
I suspect the script I need is this:
http://www.creationkit.com/OnHit_-_ObjectReference
Which only gets triggered when my Character has IsBlocking = 1 and Stamina > X
But if I attach this to a magical effect or to an enchantment, doesnt it extend automatically from activemagiceffect etc?
Can someone point me in the right direction?