Jump to content

.moveto ObjectREF compiling error


bluwax26

Recommended Posts

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

  • Recently Browsing   0 members

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