Falconsflight Posted March 3, 2012 Share Posted March 3, 2012 I have tried making this script a few times and I have no clue how to get it too work. It would just be an OnAction event that teleports a player to a specified destination, which you would put on an item. if anyone knows it would be really helpful, thanks. Link to comment Share on other sites More sharing options...
JanusForbeare Posted March 3, 2012 Share Posted March 3, 2012 If the activator is a worldobject, then I would just make it a door with a non-door mesh, if I were you. Easier than scripting a teleport effect. Link to comment Share on other sites More sharing options...
porroone Posted March 3, 2012 Share Posted March 3, 2012 Well if the activator is either a ring or piece of armor you would do this.. ObjectReference property ObjectToTeleport auto Event OnEquipped(Actor akActor) Player = Game.GetPlayer() Player.MoveTo(ObjectToTeleport) endEvent You need to create an object wherever you want to teleport, then go to the script properties and select that object.If the activator is an object, any kind of object you can attach a script, its basically the same but instead of OnEquipped() use OnActivate().You can check other functions aswell, you have a SetPosition which takes world cords, you also have the Translate function, which instead of teleporting instant, you can translate the player through the air to the position you want at given speed. Link to comment Share on other sites More sharing options...
Falconsflight Posted March 4, 2012 Author Share Posted March 4, 2012 what if I wanted to apply the script to a bed so when someone clicks the bed it teleports them somewhere? Link to comment Share on other sites More sharing options...
DarkWolfModding Posted July 2, 2013 Share Posted July 2, 2013 Just use OnActivate, you could also use OnSleepStart, and OnSleepStop. OnActivatehttp://www.creationkit.com/OnActivate_-_ObjectReference OnSleepStarthttp://www.creationkit.com/OnSleepStart_-_Form OnSleepStophttp://www.creationkit.com/OnSleepStop_-_Form Link to comment Share on other sites More sharing options...
Recommended Posts