Difference between revisions of "MoveTo"
Jump to navigation
Jump to search
imported>Maturin |
imported>Henkbein |
||
Line 10: | Line 10: | ||
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 (like Activators) may result in unexpected behavior. | |||
==See Also== | ==See Also== |
Revision as of 07:50, 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 (like Activators) may result in unexpected behavior.