path Step
path stepAlso searchable as: path Step · walk in background
path step moves a walk on and returns at once. Call it in a loop: between two calls the script can heal,
read the journal or fight, while the character keeps walking.
#PathState stays walking until the walk ends; then it says how it ended, as
for path go.
path find 1434 1699if #PathState <> ok haltrepeat path step if #HITS < 40 event SysMessage Low on hits! wait 1until #PathState <> walkingdisplay ok Walk over: #PathStatehaltDetails
Section titled “Details”- The first
path stepstarts walking the route of the lastpath find(orpath go), aspath walkwould. Each one after it looks where the character is and sends what comes next: one step, the Open Door macro, or in client mode a point for the client’s pathfinder. It never waits. - Call it often: every tick (
wait 1) or so. The walk only goes on whilepath stepis called. - Stop the walk with
path stop. A newpath findalso ends it. - After the walk has ended, the next
path stepstarts walking toward the same goal again.
Reforged notes
Section titled “Reforged notes”New in EasyUO Reforged.