BigRedJapan
2015-03-27 01:55:05
Flight gave me a really interested function so that i would be able to pin point my locations better but its not working..
Ive put in:
Someone told me that I had extra points and i see that now. but how would I be able to make that box print it on MM in Smart and then make sure that my char is in that square.
function pointsInDist(Pt1, Pt2: TPoint; Dist: Integer): Boolean;
begin
result := (distance(Pt1.X, Pt1.Y, Pt2.X, Pt2.Y) <= Dist);
end;Ive put in:
pointsInDist(Point(231,121), Point(232,123), Walker.getMyPos(), 3);Someone told me that I had extra points and i see that now. but how would I be able to make that box print it on MM in Smart and then make sure that my char is in that square.
