Difference between revisions of "UO.Pathfind"

From OpenEUO
Jump to: navigation, search
 
Line 1: Line 1:
 
  UO.Pathfind(x,y,z)
 
  UO.Pathfind(x,y,z)
Moves you to the position given by the coordinates. If the Z coordinate is omitted, it is assumed to be -1.
+
Moves you to the game world position given by the coordinates. In Easyuo, the Z coordinate could be omitted, and was assumed to be -1.  Currently OpenEUO requires all three coordinates.
  
  
Line 6: Line 6:
  
 
* The script will continue executing while the character is simultaneously moving.
 
* The script will continue executing while the character is simultaneously moving.
* UO.PathFind command only works within one screen. If you need to move longer you need to break up the path in to several calls.
+
* UO.PathFind command only works within one screen. If you need to move over longer distances you'll need to break up the path into several segments.
  
 
[[UO.Move]]
 
[[UO.Move]]

Latest revision as of 22:36, 15 October 2010

UO.Pathfind(x,y,z)

Moves you to the game world position given by the coordinates. In Easyuo, the Z coordinate could be omitted, and was assumed to be -1. Currently OpenEUO requires all three coordinates.


Note:

  • The script will continue executing while the character is simultaneously moving.
  • UO.PathFind command only works within one screen. If you need to move over longer distances you'll need to break up the path into several segments.

UO.Move