harx01 Posted August 21, 2012 Share Posted August 21, 2012 (edited) nevermind Edited August 21, 2012 by harx01 Link to comment Share on other sites More sharing options...
harx01 Posted August 22, 2012 Author Share Posted August 22, 2012 (edited) ack nevermind. again. figured it out. sorry for the random post Edited August 22, 2012 by harx01 Link to comment Share on other sites More sharing options...
harx01 Posted August 22, 2012 Author Share Posted August 22, 2012 alright, not deleting this post. This script compiles, but im not sure if its doing the right thing. If it is, the spell isnt casting. My problem might be the spell and magic effect setup. I set the magic effect Archtype to script, but am i able to set the 'Casting Type' as something other than Actor Target? I would like the option of it hitting the target location, would this script do that or is it limited to targets? Im trying to get the spell to cast from above the targets head. Scriptname skyspellTarget extends ActiveMagicEffect Spell Property SpellRef AutoObjectReference CastPosRef Event OnEffectStart(Actor akTarget, Actor akCaster) CastPosRef.SetPosition(akTarget.GetPositionX(), akTarget.GetPositionY(), akTarget.GetPositionZ() + 900) ;thespell-- utility.wait(2.5) SpellRef.Cast(CastPosRef, akTarget) endEvent Link to comment Share on other sites More sharing options...
Recommended Posts