ZippyDSMlee Posted June 1, 2016 Share Posted June 1, 2016 It's me again Margret.... Anyway I'm trying to get oh hit to work Event OnDying(Actor akKiller) Actor TargetActor = GetTargetActor() seems to work fine but for the life of me I can not get a stupidly simple on hit to trigger.... Bow>enchantment>magicbase>script> spell (its going to be one 4 random spells but I cant get a single one to work...) Scriptname zippywrathofthegodsnewspell extends ActiveMagicEffect Spell Property Zippy_WOTG_SPELL_normal Auto Actor Target Event OnEffectStart(Actor akTarget, Actor akCaster) Target = akTarget endEvent Event OnHit(ObjectReference akAggressor, Form akSource, Projectile akProjectile, bool abPowerAttack, bool abSneakAttack, bool abBashAttack, bool abHitBlocked) Zippy_WOTG_SPELL_normal.Cast(Target, Target) endEvent Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now