Jump to content

Need for script


Leodoidao

Recommended Posts

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

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

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

  • Recently Browsing   0 members

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