Jump to content

Need help creating Teleport Stones in player house


TyrisBel

Recommended Posts

I'm building a player house, and one of the things I want to do is have a bunch of standing stones that when activated will teleport you to the various cities in skyrim. I found a "Door" using a standing stone mesh model, but the only thing I can link its teleport function to is another, unused door and I don't want that. Can anyone suggest a way to do this?
Link to comment
Share on other sites

Create a marker and position it where you want to end up in the city. Attach a script to the teleporter that does something like:

 

ObjectReference Property TeleportMarker auto
Event OnActivate(ObjectReference akActionRef)
Game.GetPlayer().MoveTo(TeleportMarker)
EndEvent

 

And set the TeleportMarker property to the marker you set up.

Edited by Mowsey
Link to comment
Share on other sites

Thanks, that sounds good, can I ask you , which markers do I use? xmarkerheading? I've never done any scripting before so still a bit unsure how to do this, but this is definately the direction I want to go in

 

I think xmarkerheading should work.

Link to comment
Share on other sites

Ok I am THIS close to getting it working but I'm missing something I don't know what. here's the script:

 

Scriptname FrostfangTeleportRiften extends ObjectReference  

ObjectReference Property TeleportMarker auto
Event OnActivate(ObjectReference akActionRef)
       Game.FastTravel(TeleportMarker)
EndEvent

 

Now I activate the teleport stone, and the loading screen jumps up giving me uselful(?) information about riften, then it finishes loading and then I'm in what appears to be a white-blue nothingness (much like you'd see if there were gaps in a cell. It's almost like nothing is rendering or I've dropped through the floor or something. also, the text "Activate Teleport Stone" is still on the screen and wont go away whatever I do. But the ambient noise and music is correct for Riften. Does anyone have any idea what I'm doing wrong?

Link to comment
Share on other sites

  • Recently Browsing   0 members

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