bluwax26 Posted August 5, 2017 Share Posted August 5, 2017 Hello.I'm trying something simple and failing so hard I must be misunderstanding it at a fundamental level. After repeated google-fu attempts failed, I'm crowdsourcing it.All I want is a terminal menu to teleport a player to an X marker. Should be a simple application of the .moveto command, right? But things are never so simple, are they?The command line I have is Game.GetPlayer().MoveTo (EmptyRoomStartREF)with an X marker Reference Editor ID of "EmptyRoomStartREF".However, every time I try to compile the script, I get a message telling me that "variable EmptyRoomStartREF is undefined". Can object references even be variables? How do I make an object reference into one?Hope someone out there can see what I'm missing. Link to comment Share on other sites More sharing options...
Reneer Posted August 5, 2017 Share Posted August 5, 2017 Papyrus doesn't know that you've named an XMarker that (EmptyRoomStartREF), so you need to fill that variable using the Properties menu. Check out this tutorial for more. Link to comment Share on other sites More sharing options...
bluwax26 Posted August 5, 2017 Author Share Posted August 5, 2017 That is indeed precisely what I forgot. Thank you, Reneer. Link to comment Share on other sites More sharing options...
Reneer Posted August 5, 2017 Share Posted August 5, 2017 Happy to help. :) Link to comment Share on other sites More sharing options...
Recommended Posts