button, and something like this will pop up....
This is the radial walking aid, so lets get started by picking our radial, simply hover the mouse over the map (in the form) and click on a point. Then type your start/end radial /radius in the box. Don't get too now, im going to show you how to do this .
This is how the runescape mini map is, the general search areas are:
RadialWalk(THECOLOR, 0, 90 = Search from North to East
RadialWalk(THECOLOR, 90, 180 = East to South
RadialWalk(THECOLOR, 180, 270 = South to West
RadialWalk(THECOLOR, 270, 0 = West to North
These can be reversed and they do not have to be exactly 180 or 90, the search area varies on your location .
So if i wanted to search this part of the map:
That's roughly about 45 degrees to 90 degrees search area. But the easiest alternative to doing it yourself is using YakMans great program .
So back on action...
This is what i did:
Now what you do is input the startradial and what not, then hit show path, this will allow you to see the path search area, keep doing this until you are happy with what you have created, then simply hit 'Print Procedure' and you will get something like this:
Code:
RadialWalk({TheColor}, 20, 80, 56, {Xmod}, {Ymod});
RadialRoadWalk({TheColor}, 20, 80, 56, {Xmod}, {Ymod});
RadialWalkEx({TPA}, MMCX, MMCY, {TheColor}, {tolerance}, 20, 80, 56);
So it will literally print out your function, but there is some tweaking to do, so lets take a look at MapWalk.scar
---------------------------------------------------------------------------------------------------------------------
Code:
function RadialWalk(TheColor, StartRadial, EndRadial, Radius, Xmod, Ymod: Integer): Boolean;
---------------------------------------------------------------------------------------------------------------------
That is the parameters for radialwalk,
TheColor - The color you wish to search for, unless your using radialwalkex or something with a tol, you should use the colors from autocolor.scar
StartRadial - The Start search area remember what we discussed.
Endradial - The end of the search area.
Radius - The Radius, aka the distance from the center of the circle to the end. You probably learned this in math class.
XMod, YMod - this is the mouse find no flag deviation, since your beginner just set it to -2 to 2, i usually use 0 or -1.
Since im searching for the varrock road color, this is how my function looks:
Code:
RadialWalk(FindVarrockRoadColor, 20, 80, 56, -1, -1);
**For a list of all autocolors check autocolor.scar in the core SRL folder
Thanks for reading, i hope you learned a lot.
.
~~ END ~~