I first of all copied and modified a vanilla rune spell. unticked hostile, set it to Script, and set an area of 2048 units. And then I attached a script just to see whether the script fired or not :
event OnEffectStart(Actor akTarget, Actor akCaster) akCaster.PushActorAway(akTarget, 8)endEvent
Problem is, it's not working, and I don't think my method is correct either. I did a search on this, and some posts mention about XMarker headings and other stuff. But I've never really delved into spell modding before and I really don't know about these things.
If someone could explain the best way to achieve my repulsion effect, I'll be really grateful.