PDA

View Full Version : Full Description of all Functions? [SRL]



WhoCares357
01-29-2007, 01:05 AM
I'm looking for a full description of all(most) functions that SRL has. I've been looking for a while, and if someone could point me in the right direction, I'd really appreciate it.

Thanks.

Avaphi
01-29-2007, 01:11 AM
http://www.villu-reborn.com/forumdisplay.php?f=20 Thats the best available :\

TBH, you should be thankful you dont have to look through java docs !

WhoCares357
01-29-2007, 01:37 AM
Thanks, appreciate it.

Bam Bam
01-29-2007, 02:00 AM
Also the SRL Wiki is a very good resource:
http://www.villu-reborn.com/srl_manual/index.php?title=Main_Page

The Un-Named
01-30-2007, 08:35 PM
The names are pretty explanatory.

MMouse = MoveMouse ect.

WT-Fakawi
01-30-2007, 08:47 PM
I prefer the Microcoft .chm Help File, that comes with the package.

Bam Bam
01-30-2007, 11:10 PM
I prefer the Microcoft .chm Help File, that comes with the package.

Yeah so do I. Mostly because it is searchable

WhoCares357
02-02-2007, 05:52 PM
The names are pretty explanatory.

MMouse = MoveMouse ect.

Well, it is, but I need to see what the integers, strings, booleans stand for.

Avaphi
02-04-2007, 12:30 PM
What do you mean stand for? A General scripting guide should tell you what Ints, Strings and Booleans are... ?

WhoCares357
02-08-2007, 02:32 AM
I know what how to script. I don't know what the integers in MMouse stand for. Like x,y is where it moves, a,b is something else, etc.

Hard to explain :/

Avaphi
02-10-2007, 04:25 AM
mmouse(x,y,0,0);

Well the 'X' and 'Y' Variables are both Coordinates that are usually stored in from a previous function like this:


if (FindColorSpiralTolerance(x, y, colortofindhere, MSX1, MSY1, MSX2, MSY2, 5)) then
mmouse(x,y,5,5);

What this does, is IF it finds the color(in this case it is a variable called colortofindhere) then it will store the coordinates it finds the color at, into variables x and y. From there you call mmouse which relys on the state of the x and y variables to know where to go to(the value stored in variables x and y from the color finding procedure).

This is probably the most detail I want to go into without writing a complete tutorial, in which the case is there are many tuts already out there, so go check em out. I recommend Drigers tut, its a downloadable .exe that is a very helpful reference for beginner and advanced scripters. Hope this helped ! Good luck with your scripting !

WhoCares357
02-12-2007, 11:47 PM
Thanks. (PS I know all about the if then else part :p I can script scar well, just have never used SRL.)

steth1010
05-29-2007, 08:27 PM
ya i used to script alot until SRL and then i got confused lol

shaunthasheep
05-29-2007, 10:01 PM
02-12-2007:duh:

neG
06-01-2007, 02:52 AM
Woo old topics are cool :P
I only started scripting when SRL came out, so adapting was easy for me :P

BraK
08-06-2007, 01:28 PM
Has anyone got the video that was around on kaitnieks original site it really explain scar scripting really well to beginners. that was what answer all of my questions sadly i don't have it anymore or don't remember on which computer i put it on. it answer most of the questions like this one on what are variables, string and booleans.

Santa_Clause
08-07-2007, 09:22 AM
06-01-2007

...

Hugolord
08-07-2007, 09:29 AM
rofl grave digger

Smartzkid
08-08-2007, 02:25 PM
I doubt anyone still has a video from back then....of course, it's possible...

Janilabo
08-09-2007, 03:29 PM
I might have, as I have saved alot of tutorials... ;) About 20 video tutorials in Massive Package of Resources for SCAR (http://moparisthebest.com/smf/index.php/topic,121451.0.html). :p

Rikje
08-09-2007, 06:13 PM
No it isn't :p