Getting Spell Hit Location In Papyrus

Post » Wed Jun 20, 2012 2:32 pm

Does anyone know how to get the spell hit location for a spell with delivery set to Target Location? I need to get where the location actually is so I can spawn something there instead of simply doing it as a self spell and spawning it under the caster. I'm sure I'm missing something but I've spent the last few hours on the Creation Kit Docs and found nothing except how to return the target when it's an actor.

Thanks for any and all help. :)
User avatar
Mr.Broom30
 
Posts: 3433
Joined: Thu Nov 08, 2007 2:05 pm

Post » Wed Jun 20, 2012 5:59 am

Make it an aimed spell and give it a custom projectile. Tell that projectile to spawn a custom explosion (doesn't have to be visible) and tell that explosion to drop a custom object (Also doesn't have to be visible) and target that object as your location.
User avatar
Natalie J Webster
 
Posts: 3488
Joined: Tue Jul 25, 2006 1:35 pm

Post » Wed Jun 20, 2012 5:42 am

I was hoping it wouldn't be that complicated and I'd just missed a GetSpellHitLocation() :P. Thanks for the help will try that now. :)
User avatar
Ashley Hill
 
Posts: 3516
Joined: Tue Jul 04, 2006 5:27 am

Post » Wed Jun 20, 2012 10:12 am

PR0 6AM3R - You have the best quote.
User avatar
OnlyDumazzapplyhere
 
Posts: 3445
Joined: Wed Jan 24, 2007 12:43 am


Return to V - Skyrim