I am also wanting to have the script be able to detect whether the player used his/her fists, sword, or arrow/bolt, ect. to deal the blow with. Would there be anyway to determine this via script functions?
(MWSE functions are fine for these scripts.)
I also need to find a way to get a separate script to check when an NPC has struck the NPC with a specific weapon just like the above script.
The reason I am needing this is because I plan on implementing hand-to-hand health damage to the combat mod I'm working on as well as weapon specific bonuses that will have random percent chances of triggering special effects on the PC/NPCs when they are struck by that type of weapon.
Any help is extremely appreciated .