Difference between revisions of "Talk:MoveTo"
Jump to navigation
Jump to search
no edit summary
imported>DragoonWraith (a number of questions) |
imported>JustTim |
||
Line 19: | Line 19: | ||
:::::Say I have an object set to constantly MoveTo player 0 0 0, will that follow him through a loaddoor? If this script is in a Quest script (objectID.MoveTo player 0 0 0), and the player goes through a loaddoor, will that crash or will that work? If I have a reference variable instead of the actual ID, will that change anything? If that reference var references an object created through PlaceAtMe, does that change anything? If it works as it all, must it be a persistant reference in order to do so? --[[User:DragoonWraith|DragoonWraith]] 13:44, 27 May 2006 (EDT) | :::::Say I have an object set to constantly MoveTo player 0 0 0, will that follow him through a loaddoor? If this script is in a Quest script (objectID.MoveTo player 0 0 0), and the player goes through a loaddoor, will that crash or will that work? If I have a reference variable instead of the actual ID, will that change anything? If that reference var references an object created through PlaceAtMe, does that change anything? If it works as it all, must it be a persistant reference in order to do so? --[[User:DragoonWraith|DragoonWraith]] 13:44, 27 May 2006 (EDT) | ||
:::::: Yes, this should work. MoveTo even moves the object into diffrent cells if necessary. It shouldn't crash the game when you take care that the used reference didn't get unloaded. you should therefore use persistant references. And you don't even need the "0 0 0" thing, just using "MoveTo Player" should do the job. --[[User:JustTim|JustTim]] 16:50, 27 May 2006 (EDT) |