
Originally Posted by
rj
Get the inventory count and make it wait until the inventory count has increased by 1.
Maybe you misunderstand me. I want to make a function somehow check after the click on coal rock and if it miss click the rock then it will click the other rocks around there. Here is a video, look closely at 1sec-30sec ish. you will see that it miss click the rock and just stand there for a good 9 second before the random of x,y I just added kick in.
Simba Code:
Mouse(X+Random(3),Y+Random(8),2,2,True);
Sorry for the bad quality --->http://tinypic.com/player.php?v=2ijr...8#.VUGjqI5Viko
Ps. What does this do? I don't quite understand it.
Simba Code:
Animating
function Animating(B: TBox; Time, MinCount: Integer): Boolean;
//Finds constant animation in boxes B during time T. If PixelShift in box is smaller than MinCount, it’s considered not animating.
//Note Author: marpis Last Modified: Nov. 29, 2009
//Example:
playerAnimating := Animating(box, 5000, 2000);