Im actually trying to script that will teleport the player to the spells impact location, but none of the events I've put into my script seem to ever fire.
This is what I have in my script so far:
Scriptname ConjureSelfScript extends activemagiceffect{Used in the ConjureSelf Spell Mod}Function MoveTo(ObjectReference akTarget, float afXOffset = 0.0, float afYOffset = 0.0, float afZOffset = 0.0, bool abMatchRotation = true) nativeEvent OnEffectStart(Actor akTarget, Actor akCaster) Game().GetPlayer().MoveTo(akTarget)endEventNot much, I know. But like I said I cant even get the OnEffectStart event to fire. Is there another event that I might need to use?
Also, the 'explosion' property in my magic effect doesnt seem to do anything at all when it hits a target.
And.... finally, the Hit Effect Art only seems to show when it hits an actor, not a location like the ground or a surface.
Heres the output of my compile:
Starting 1 compile threads for 1 files...Compiling "ConjureSelfScript"...c:\program files (x86)\steam\steamapps\common\skyrim\Data\Scripts\Source\temp\ConjureSelfScript.psc(4,64): no viable alternative at input '\\r\\n'c:\program files (x86)\steam\steamapps\common\skyrim\Data\Scripts\Source\temp\ConjureSelfScript.psc(0,0): error while attempting to read script ConjureSelfScript: Object reference not set to an instance of an object.No output generated for ConjureSelfScript, compilation failed.Batch compile of 1 files finished. 0 succeeded, 1 failed.Failed on ConjureSelfScript
