PathFinding

Methods

PathFinding.GetPath(dst_x, dst_y, ignoremob)List[Tile]
  • dst_x: Int32 Destination X.

  • dst_y: Int32 Destination Y.

  • ignoremob: Boolean Ignores any mobiles with the path calculation.

Compute the path for the given destination and returns a list of Tile (coordinates).

PathFinding.Go(r)Boolean

Check if a destination is reachable.

PathFinding.RunPath(path, timeout, debugMessage, useResync)Boolean
  • path: List[Tile]

  • timeout: Single

  • debugMessage: Boolean

  • useResync: Boolean

PathFinding.Tile(x, y)Tile
  • x: Int32 X coordinate

  • y: Int32 Y coordinate

Create a Tile starting from X,Y coordinates (see PathFindig.RunPath)