Creating a repulsive rune spell...

Post » Mon Mar 25, 2013 11:39 pm

So I'm trying to create a rune spell, that, when placed on the ground, will continuously repel any NPCs back away from it.

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.
User avatar
Brooke Turner
 
Posts: 3319
Joined: Wed Nov 01, 2006 11:13 am

Return to V - Skyrim