path Get
path get loads step n (from 1 to #PathCnt) of the route the last
path find planned: #PathX, #PathY and
#PathZ are where the step ends, #PathDir the direction it
goes in.
A number out of range sets all four to 0 (#PathDir to -1) and #PathState
to error: no step ….
Example
Section titled “Example”path find 1600 1690for %i 1 #PathCnt{ path get %i if #PathZ > 10 event SysMessage Step %i goes up to #PathZ}halt