In my script i want to walk to the nearest symbol, not the farthest, any idias how i could do this?..
![]()
In my script i want to walk to the nearest symbol, not the farthest, any idias how i could do this?..
![]()
Woot woot.
FindSymbolIn
or making the compass point south might work, if u dont mind that.
Something like this? Not sure thought
SCAR Code:var
x, y, Rx, Ry:Integer;
begin
x:=MMCX;
y:=MMCY;
FindSymbol (x,y,'TheSymbol') ;
If Distance(x, y, Rx, Ry) < 1 then
DoSomething;
end;
Dunno if works m8![]()
Bump :|
{************************************************* ******************************
procedure FindSymbols(var AnsTPA: array of TPoint; SymbolName: string);
By: Boreas
Description: Finds a symbol in multiple places.
************************************************** *****************************}
Woot woot.
EvilChicken! already gave you the answer on the copy of this thread.
There are currently 1 users browsing this thread. (0 members and 1 guests)