Hi! I've been out of modding for a while and I can't seem to remember what little I knew to begin with. I'd like to finish a mod I started, I lost the scripts when I reinstalled. I decided to just start from scratch.
I'm looking to make a spell, when hit, the target plays a certain animation. I want it to only work if the target is a hostile(and human shaped but I have no idea about this part).
Here's all I have:
Scriptname AceFearScript extends ActiveMagicEffect If akActor.IsHostileToActor() Debug.SendAnimationEvent(SpellSubject,"IdelCower") UnregisterForUpdate() endif