Hi, i'm adding an AutoFighter feature to my script, and I need a way to find goblins. Here's the procedure for finding the monster and killing it:
SCAR Code:Procedure FindMonster;
Begin
SendArrowWait(0,1000+random(500));
Repeat
RandomMovement;
Until IsUpText('Goblin');
End;
Procedure Fight;
Begin
i:= 0;
Repeat
i:= i + 1;
GetMousePos(x,y);
Mouse(x,y,0,0,false)
ChooseOptionEx('Attack');
FindMonster;
Until (i >=(HowManyAttack));
End;
With procedure FindMonster, I need a way for the mouse to move around in a way were it can detect IsUpText. At the moment it is using RandomMovement, but that usually takes about five to find a goblin, as the mouse sails right over it without giving SCAR a chance to use IsUpText. What I need is a procedure or function that will move the mouse and look for the goblin. I don't want to use FindMonster or KAttackMonster. Help would be appreciated. Cheersh):




h):

Reply With Quote



