Skip to content

path Clear

Sub-commandPathfindingNew in Reforged
path clear [blocks|avoid|links|learned|all]
Sets
#PathState

Also searchable as: path Clear

path clear removes every path block (blocks), every path avoid area (avoid) or every path link (links), on every facet. learned forgets the places where a walk had a step refused, which the walker otherwise avoids for a while (see path go). Without a word, or with all, it removes all four. The options of path set are not touched.

Starting the script again clears them too. #PathState is ok, or error: … for an unknown word.

path link 1500 1600 0 1700 1600 0
path clear links ; forget the link again
halt

See also