Reading Location from a Magic Effect

Post » Thu Jun 21, 2012 1:03 pm

Have a Magic Effect with http://www.creationkit.com/DeliveryType specified as "Target Location". How is that "Target Location" returned?

I normally use the http://www.creationkit.com/OnEffectStart_-_ActiveMagicEffect Event in my scripts yet it only has two parameters:

Event OnEffectStart(Actor akTarget, Actor akCaster)

I tried doing akTarget.PlaceAtMe(DeathSnack). It did compile, but it didn't work. Looking over the other events and member functions I didn't see anything else to try. :ermm:
User avatar
Mimi BC
 
Posts: 3282
Joined: Sat Oct 07, 2006 10:30 pm

Post » Thu Jun 21, 2012 7:35 am

A magic effect script will only run on actors. If your spell doesn't hit an actor, then the script isn't run. Are there even any scripts on any of the target location type spells in the game?

You'd be better off giving your magic effect a custom projectile, that creates a custom explosion on impact, which spawns your custom object.
User avatar
Chloe Mayo
 
Posts: 3404
Joined: Wed Jun 21, 2006 11:59 pm

Post » Thu Jun 21, 2012 2:28 pm

Oh interesting. I see where you can specify the effect's explosion. Then there's a Placed Object on the http://www.creationkit.com/Explosion. I can create trouble with this, yes! Thanks much Mr. Noob. :)
User avatar
Elizabeth Lysons
 
Posts: 3474
Joined: Fri Feb 02, 2007 7:16 am


Return to V - Skyrim