can some1 tell when to use x-2 , y-2 this and how and what advantage does it haveSCAR Code:mouse(x-3,y-3,2,2,true);
can some1 tell when to use x-2 , y-2 this and how and what advantage does it haveSCAR Code:mouse(x-3,y-3,2,2,true);
I believe it is for clicking lower down, or away from an area. It like, offsets the click;
![]()
Jus' Lurkin'
they both mean the same thing lol but thanks anyway
The second pair of parameters are for randomness, so if you do no substracting from the first pair, and 2, 2, it will do randomness only further out, but if you add -2 to the first pair, and keep the 2, 2, it will click in a random 4*4 box around the coord.
i didn't fully understand that plz elaborate by using examples
Well (m)mouse adds the rx and ry to the x and y and does not subtract it.
So:
Will move anywhere within x: 10-12, and y: 10-12.SCAR Code:Mouse(10, 10, 2, 2, true);
Will move anywhere within x: 8-10, and y : 8-10.SCAR Code:Mouse(10 - 2, 10 - 2, 2, 2, true);
Will always move to 8, 8.SCAR Code:Mouse(10 -2, 10 -2, 0, 0, true);
There are currently 1 users browsing this thread. (0 members and 1 guests)