From: boscolamhk
Do you mean using DTM to walk? The centre point is the point I want to walk to, and the surrounding points are those dead trees or stones? I try this method and it fails to walk to where I want.
And I want to ask if I see a large stone in my mainscreen and I want to walk near it (instead of clicking the stone). How should I script it? I only know how to click the stone but not clicking somewhere next to the stone.
As far as I know that can be done using:
CLICKHEREDTM := DTMFromString('DTM')
if FindDTM(CLICKHEREDTM, x, y, x1, x2, y1, y2) then //x1,x2,y1,y2 you can just use minimap.FindDTM instead of using this
begin
mouse(x+10,y+10, MOUSE_MOVE); // 10 can be any number, this just clicks 10 pixels more to the right and 10 pixels more down
fastClick(MOUSE_LEFT);