Difference between revisions of "MoveTo"
Jump to navigation
Jump to search
imported>Henkbein |
imported>Tegid (I have never had trouble moving activators, so let's not single them out.) |
||
Line 11: | Line 11: | ||
NOTE: if this function is used to move the player, it will also act as a [[Return]] function -- no following lines of the script will be processed. | NOTE: if this function is used to move the player, it will also act as a [[Return]] function -- no following lines of the script will be processed. | ||
NOTE: this function is only reliable for Actors. Using it to move other object types | NOTE: this function is only reliable for Actors. Using it to move other object types may result in unexpected behavior. | ||
==See Also== | ==See Also== |
Revision as of 09:33, 4 May 2006
Syntax:
MoveTo MarkerID, x, y, z (optional)
Example:
MoveTo HiddenCaveMarker MoveTo player, 512, 0, 0
Moves the object to the specified reference's location. The x, y, z are optional offsets from the target reference.
NOTE: if this function is used to move the player, it will also act as a Return function -- no following lines of the script will be processed.
NOTE: this function is only reliable for Actors. Using it to move other object types may result in unexpected behavior.