Jump to content

Trouble with a teleportation spell


Recommended Posts

I am working on a mod that adds some useful and powerful spells to skyrim and i want to add a teleportaion spell similar to Blink in dishonored. Here are the Papyrus scripts i have so far but they are for going to a certain place, not the target location:

 

Scriptname TeleportScript extends activemagiceffect  

ObjectiveReference property teleportDestination auto

Event OnEffectFinish(Actor Target, Actor Caster)
    target.MoveTo(teleportDestination)
EndEvent

This is my first time using Papyrus, i don't really know what i'm doing, please help.

 

Link to comment
Share on other sites

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...