PDA

View Full Version : Find Object function



Syntax
01-14-2014, 10:06 AM
I use to use the Find Object function in ACA because it was simple and it worked here is what I used:
) > 5 Then
Begin
repeat
MiddleTPAEx(TPAA[i], X, Y);
MMouse(X, Y, 3, 3);
if (isMouseOverText(['tack', 'an'])) then
Begin
Result := True;
GetMousePos(X, Y);
mouse(x,y,3,3,false);
wait(100 + random(200));
chooseOption('pock');
wait(5000 + random(1000));
Break;
End;
until (Result :=False);
Break;
end;
end;
]

As you can see, I have started to adapt it for SRL-6 with some minor adjustments then I realized it wasn't supported anymore the CTS.

Does anyone have some suggestions for what I should use instead? The target isn't still it's a moving NPC (Rogues Den banker)

vwxz
01-14-2014, 10:32 AM
You might be interested in looking at what @Ashaman88 does for his cooker here (http://villavu.com/forum/showthread.php?t=90193).

EDIT: I can't seem to get the mention tag to work. My mistake.

Syntax
01-14-2014, 10:39 AM
You might be interested in looking at what @Ashaman88 does for his cooker here (http://villavu.com/forum/showthread.php?t=90193).

Not sure I understand his function, going to PM him about it now.
Thanks :)

Ashaman88
01-14-2014, 02:48 PM
Not sure I understand his function, going to PM him about it now.
Thanks :)

I'll comment it up for you and send it back

Syntax
01-15-2014, 02:37 AM
I'll comment it up for you and send it back

Thank you, I sent you a PM regarding it too :P