Difference between revisions of "UO.Pathfind"
From OpenEUO
Line 1: | Line 1: | ||
UO.Pathfind(x,y,z) | UO.Pathfind(x,y,z) | ||
− | Moves you to the position given by the coordinates. | + | 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 | + | * 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.