So if I wanted to click the right door in order to re-enter the Giant Spiders Room, how would I distinguish it from the left door/how could I make SMART find it and click it?
So if I wanted to click the right door in order to re-enter the Giant Spiders Room, how would I distinguish it from the left door/how could I make SMART find it and click it?
Last edited by Imagine; 04-14-2012 at 02:57 AM.
use spiral functions? it will search from the middle so it will click the door nearer to u. If u need to get nearer to the door first then just use MMdot to click on the yellow npc dots.
Alternatively, u can let the script adjust to a certain angle/compass view such that the 2 doors will look very different and u can just use dtm/bitmap etc to click the desired door.
Have the script use a certain angle like compass at N and angle at high then make a DTM that will only highlight the door you want and have it click that door.
Something like this:
Simba Code:procedure ClickDoor;
var
x, y: integer;
aFound: Extended;
begin
MakeCompass('N');
SetAngle(SRL_ANGLE_HIGH);
if FindDTMRotated(blah blah blah..) then
begin
GetMousePos(x, y);
Mouse(x, y, 2, 2, True);
end;
end;
Current Project: Retired
There are currently 1 users browsing this thread. (0 members and 1 guests)