Leodoidao Posted November 28, 2009 Share Posted November 28, 2009 Greetings!! I need a script for my next mod. It is a simple one, but I´m not good in scripting. I want a magic door/teleport pat to take me to a specific place, but NOT to another door. It could be an " X-marker" or any place at an interior cell, but there must NOT be a way back. How can I make such a door? Could anyone help me, please? Link to comment Share on other sites More sharing options...
grmblf Posted November 28, 2009 Share Posted November 28, 2009 You don't need a script. Simply link that door to an x-marker and there won't be a way back. The x-marker is invisible in-game so the player will be just like being teleported there. Link to comment Share on other sites More sharing options...
Vagrant0 Posted November 28, 2009 Share Posted November 28, 2009 Attach this script to the door: scn your1waydoorscriptxx742h Begin onactivate if getactionref == player player.movetomarker <Named Marker> else activate endif end It is however suggested that you still setup a linked door on the other side which is hidden (scaled down, in the terrain) or otherwise inaccessible that has a normal door teleport marker where the xmarker is. The purpose of this door is simply to allow companion or NPC pathing through that doorway to follow the player. Without this, some companions may become stuck, or try to reach the player though some other connection (IE where the player is supposed to leave the area). Link to comment Share on other sites More sharing options...
reaper9111 Posted November 28, 2009 Share Posted November 28, 2009 You can actualy use a Teleport Marker insted of the X Marker, i think it safer to use them when playin with teleportation and stuff... Everything as been said already, so, Good luck ! Edit: there`s also this posibility: Scn YourScriptName Begin OnActivate Player.MoveToMarker YourMarkerName End Simple Script But it will Work, just a different way then Vagrant has provide...Both are good ! Link to comment Share on other sites More sharing options...
Leodoidao Posted November 28, 2009 Author Share Posted November 28, 2009 Thank you guys!!!! ;) Link to comment Share on other sites More sharing options...
Recommended Posts