From: rjj95
Looks difficult compared to the other 3
There's also TPAWalk from MapWalk.simba:
(*
TPAWalk
~~~~~~~
.. code-block:: pascal
function TPAWalk(color, tol, offsetX, offsetY: integer; sortFrom: TPoint): boolean;
Uses a simple TPA sorting method to walk to a spot on the minimap.
* color: the color to be found on the minimap
* tol: the tolerance on color
* offsetX: the offset to click on the X coordinate of the found color
* offsetY: the offset to click on the Y coordinate of the found color
* sortFrom: the point on the minimap to sort found colors from
.. note::
by Coh3n
Example:
.. code-block:: pascal
if (not TPAWalk(1234567, 10, 0, 0, point(MMX1, MMY1)) then
if (not radialWalkTolerance({parameters here}) then
writeln('failed to TPA and radial walk');
*)