Total Papyrus rookie here,
I'd like to create a script that for now just gives a message if the player is hit while unarmored, or hits another creature unarmed. What would be a script that accomplishes that and how would I hook it into a perk or effect so that it was loaded into the game?
edit: While waiting for moderation, I managed this for unarmored:
Create a perk which gives an ability, which gives an effect linked to this script:
Scriptname IronSkinTestScript extends ActiveMagicEffect
Event OnHit(ObjectReference akAggressor, Form akSource, Projectile akProjectile, bool abPowerAttack, bool abSneakAttack, bool abBashAttack, bool abHitBlocked)
debug.trace("We are hit.");
debug.notification("We are hit.");
endEvent
It doesn't check for unarmored yet, but I'm getting close.