public static PathResult ExilePather.FindPath(Vector2i start, Vector2i end, bool waypoints = true, byte distanceBetweenHops = 15)
Finds a path between two points. When waypoints are enabled, segments are spaced by distanceBetweenHops.
PathResultParameters
start- Parameter type:
Vector2iThe starting position for pathfinding
end- Parameter type:
Vector2iThe destination position for pathfinding
waypoints- Parameter type:
boolNo current DPB page is linked for this built-in, external, generic or compatibility-only type.Whether to include waypoints in the returned path
distanceBetweenHops- Parameter type:
byteNo current DPB page is linked for this built-in, external, generic or compatibility-only type.Distance between path segments when waypoints are enabled
Returns: A DreamPoeBot.Loki.Bot.Pathfinding.RDWrapper.Types.PathResult containing the found path or failure information