notaconfirmeduser Posted March 28, 2021 Share Posted March 28, 2021 Hi. I'd like to set up a terminal (computer) with menu options that teleports the user to a selected location. I've tried using player.moveto script fragments and COC combined with XMarkers to no avail. I'd appreciate any guidance you would provide. My best guess is the problem lies with my properties selection for the menu item. I've tried object references, etc. Am I missing something simple? Kind regards and thanks in advance. Link to comment Share on other sites More sharing options...
AnOutdatedMind Posted March 28, 2021 Share Posted March 28, 2021 I'm unfortunately unskilled in any form of programming, so I'm not able to assist directly. Regardless, I do know something that might help.There's a mod called cheatterminal, if I remember correctly it has a menu with locations you can teleport to. Perhaps by reverse engineering it you could gain some insight? Link to comment Share on other sites More sharing options...
AnOutdatedMind Posted March 28, 2021 Share Posted March 28, 2021 I'm unfortunately unskilled in any form of programming, so I'm not able to assist directly. Regardless, I do know something that might help.There's a mod called cheatterminal, if I remember correctly it has a menu with locations you can teleport to. Perhaps by reverse engineering it you could gain some insight? Link to comment Share on other sites More sharing options...
SKKmods Posted March 28, 2021 Share Posted March 28, 2021 Player.MoveTo from a terminal fragment is totally fine and works well. Used all the time to force pop the player out of a terminal, try that: Game.GetPlayer().Moveto(Game.GetPlayer()) If that works then yes look at your property assignments and examine the papyrus debug log for errors. Link to comment Share on other sites More sharing options...
notaconfirmeduser Posted March 29, 2021 Author Share Posted March 29, 2021 I'm unfortunately unskilled in any form of programming, so I'm not able to assist directly. Regardless, I do know something that might help.There's a mod called cheatterminal, if I remember correctly it has a menu with locations you can teleport to. Perhaps by reverse engineering it you could gain some insight?Thanks! I'll check it out! Link to comment Share on other sites More sharing options...
notaconfirmeduser Posted March 29, 2021 Author Share Posted March 29, 2021 Player.MoveTo from a terminal fragment is totally fine and works well. Used all the time to force pop the player out of a terminal, try that: Game.GetPlayer().Moveto(Game.GetPlayer()) If that works then yes look at your property assignments and examine the papyrus debug log for errors.Thanks for your reply! I love your global stash mod! A few quick questions if you don't mind? 1. What property type should I use for the XMarker? I tried "Object Reference" and "Location Reference type."2. The fragment I tried using is:Game.GetPlayer().MoveTo (NewLocationREF)Is that the correct syntax to use with a XMarker Heading? I'm getting a "no viable alternative at input" error. Thanks again. Link to comment Share on other sites More sharing options...
SKKmods Posted March 29, 2021 Share Posted March 29, 2021 If it is a specific marker placed in the game world you need to refer to it by its in game world ObjectReference as only ObjectReferences exist in the world. ExampleA: [Properties] AddProperty Type: ObjectReference Name: SanctuaryWorkshopREF ... that should autofill the value as its a known unique name. ExampleB: [Properties] AddProperty Type: ObjectReference Name: CarlaAtSanctuaryHillsMarker ... that will also autofill the value Start with them get that working. If you want to refer to an arbitrary unnamed marker you will need to manually pick it from the Cell + Reference dropdowns. Link to comment Share on other sites More sharing options...
notaconfirmeduser Posted March 29, 2021 Author Share Posted March 29, 2021 If it is a specific marker placed in the game world you need to refer to it by its in game world ObjectReference as only ObjectReferences exist in the world. ExampleA: [Properties] AddProperty Type: ObjectReference Name: SanctuaryWorkshopREF ... that should autofill the value as its a known unique name. ExampleB: [Properties] AddProperty Type: ObjectReference Name: CarlaAtSanctuaryHillsMarker ... that will also autofill the value Start with them get that working. If you want to refer to an arbitrary unnamed marker you will need to manually pick it from the Cell + Reference dropdowns.That is incredibly helpful. Thank you so much. Link to comment Share on other sites More sharing options...
Recommended Posts