oyayeboo Posted November 17, 2012 Share Posted November 17, 2012 Hello everyone, i'm trying to mod something in skyrim and stuck with this timed blocks idea (actually i'm trying to increase magic resistance within first second of blocking). How can i catch event of blocking with papyrus? Any help would be great :) thanks Link to comment Share on other sites More sharing options...
BigKevSexyMan Posted November 17, 2012 Share Posted November 17, 2012 I just did this myself: For the Animation Enter and Exit Properties use blockStartOut and blockStop Scriptname _BKSM_ShieldBlockEffect extends activemagiceffect String Property AnimationEnter Auto String Property AnimationExit Auto Event OnAnimationEvent(ObjectReference akSource, string asEventName) if (asEventName == AnimationEnter) endif if (asEventName == AnimationExit) endif EndEvent Event OnEffectStart(Actor akTarget, Actor akCaster) RegisterForAnimationEvent(akTarget, AnimationEnter) RegisterForAnimationEvent(akTarget, AnimationExit) Debug.Notification("effect registered") EndEvent Event OnEffectFinish(Actor akTarget, Actor akCaster) UnregisterForAnimationEvent(akTarget, AnimationEnter) UnregisterForAnimationEvent(akTarget, AnimationExit) Debug.Notification("effect unregistered") EndEvent Link to comment Share on other sites More sharing options...
Recommended Posts