SRL Archive - General

Rsc =d


asdase

2009-04-08 09:28:32

hi im new to scar and this forum so if i post in the wrong topic tell me :) ok?
ok here's my question…

i just want a script that goes from 308:556 to like 300:550 :P
it's nothing but i just want to know the basics of a waqlking script or should it be with colors or what? :P

please help me it would be great :)

// asdase [a.k.a] Dr.No_0B[SwE]

Gearsnare

2009-04-13 18:14:47

To move a mouse in a script the best way is to use Mouse, to move it to 330, 550 and then to left click you would have to type:

procedure Walking;
begin
Mouse(330, 550, 0, 0, True);
end;
The parameters for that function are (x, y, random range for x, random range for y, left click) but since the values are both 0 after x, y, then there will be no randomness and it is true that your wanting it to left click not false which would make it right click. This is very detectable because of no randomness though, I suggest reading this tutorial on how to successfully map walk, it is the most difficult part of any script IMO.

Hope this helps, looking at other peoples scripts to understand theory is always good.