Difference between revisions of "Talk:MoveToMarker"

From the Oblivion ConstructionSet Wiki
Jump to navigation Jump to search
imported>JustTim
imported>TheImperialDragon
(MoveToMarker rotation?)
Line 12: Line 12:


::I just checked in the oblivion.exe and both functions are mentioned next to each other like all alias functions. It it very likely (but not 100% sure) that both do the same. --[[User:JustTim|JustTim]] 04:53, 6 June 2006 (EDT)
::I just checked in the oblivion.exe and both functions are mentioned next to each other like all alias functions. It it very likely (but not 100% sure) that both do the same. --[[User:JustTim|JustTim]] 04:53, 6 June 2006 (EDT)
:::I believe that MoveToMarker may do the same as MoveTo, except that MoveToMarker rotates the moved object to face whichever direction the marker is facing.  Look at FGD08Script, it seems that MoveToMarker is used so that the player is facing the village.  MoveTo does not seem to be able to set a rotation angle.  Maybe that is the difference. [[User:TheImperialDragon|TheImperialDragon]] 08:26, 6 June 2006 (EDT)

Revision as of 07:26, 6 June 2006

Dragoon Wraith TALK 19:52, 5 June 2006 (EDT): I don't understand this function - how does it work? What is meant by "reference ID"?

MoveToMarker is essentially a MoveTo, except designed for XMarkers. X Markers are special markers placed in the world to identify a specific location. For example, X markers can be used for Randomly teleporting doors, showing where the player will be, and which direction he/she will be facing (optional). It is often used to indicate where NPCs should travel to, or where they'll be transported to. See FGD08Script for some good examples of MoveTo and MoveToMarker. At the moment, I am still researching this function, but that is essentially what it does.
Double click on any object. At the top of the window, there's a box entitled "Reference Editor ID". This is what the article means by "Reference ID". You can use this to distinguish between several different identical objects, such as the 900+ XMarkers in the game. TheImperialDragon 20:07, 5 June 2006 (EDT)
Dragoon Wraith TALK 20:10, 5 June 2006 (EDT): OK, that clears some things up, thanks. Also, good edit to the article.

Well, actually, I wrote the article in a hurry about an hour ago, so the mistake was my own. Sorry about the confusion. TheImperialDragon 20:18, 5 June 2006 (EDT)

But you can use MoveTo to achieve the same. Are you sure that MoveToMarker isn't just another name for MoveTo? There are many functions with multiple names. --JustTim 03:07, 6 June 2006 (EDT)
I just checked in the oblivion.exe and both functions are mentioned next to each other like all alias functions. It it very likely (but not 100% sure) that both do the same. --JustTim 04:53, 6 June 2006 (EDT)
I believe that MoveToMarker may do the same as MoveTo, except that MoveToMarker rotates the moved object to face whichever direction the marker is facing. Look at FGD08Script, it seems that MoveToMarker is used so that the player is facing the village. MoveTo does not seem to be able to set a rotation angle. Maybe that is the difference. TheImperialDragon 08:26, 6 June 2006 (EDT)