Scriptname SampleScript Extends ActiveMagicEffect Actor MySelf Event OnEffectStart(Actor akTarget, Actor akCaster) MySelf = akTarget RegisterForAnimationEvent(MySelf, "preHitFrame") EndEvent Event OnAnimationEvent(ObjectReference akSource, string asEventName) if MySelf.GetAnimationVariableInt("iState") == 14 ; パワーアタック endif EndEvent