Skip to content

path Can

Sub-commandPathfindingNeeds clientNew in Reforged
path can {x} {y} [z]
Sets
#PathState, #PathX, #PathY, #PathZ

Also searchable as: path Can · walkable · passable

path can checks whether a character can stand at x, y on the facet you are on: something to stand on, enough head room above it, and not a path blocked place. Near the character it also looks at what your client holds there: items, creatures and house pieces, as path find does.

#PathState is ok or blocked (or noclient / nomap, as for path find). #PathZ is the height the character would stand at: of the floors there, the one nearest to z. Without z, the nearest to your character’s own height (or to the height given to path from). It doesn’t check whether the place can be reached.

path can 1434 1699
if #PathState = ok
display ok You can stand there, at height #PathZ
halt

See also