Creating a spell with delivery both Aimed and Self

Post » Sat Jun 15, 2013 3:21 am

Is it possible? An example would be a spell that both heals you and hurts an enemy simultaneously.

I am working on a concentration spell that let's you disarm an enemy and use telekinesis at the same time.

PS. I'm not exactly a veteran when it comes to modding as you might expect, but baby steps and all that :)

User avatar
Bonnie Clyde
 
Posts: 3409
Joined: Thu Jun 22, 2006 10:02 pm

Post » Sat Jun 15, 2013 12:41 pm

sure, easy to do via scripts, but I'm wondering if there's a more elegant implementation.
User avatar
James Baldwin
 
Posts: 3366
Joined: Tue Jun 05, 2007 11:11 am

Post » Sat Jun 15, 2013 6:07 am

Thanks for the reply, mate.

I've not familiarized myself much with Papyrus though, do you by any chance have an example on how to accomplish it? Or any other pointers?

Edit: Alternatively, If I could somehow alter the Telekinesis spell to work as an aimed spell, I would've come a long way. It seems the spell is quite intricate though, and I have a hard time making it work any other way than originally intended =/

User avatar
Robert Garcia
 
Posts: 3323
Joined: Thu Oct 11, 2007 5:26 pm

Post » Sat Jun 15, 2013 4:47 pm

well in short:

SPELL PROPERTY akSpell AUTOEVENT OnEffectStart(Actor akTarget, Actor akCaster)    akSpell.Cast(akCaster)ENDEVENT
akspell is your on self spell.

although you may need to tweak the exact mechanics depending on what your goal is.
User avatar
Ana
 
Posts: 3445
Joined: Sat Jul 01, 2006 4:29 am


Return to V - Skyrim