not to raid on your parade aka awsome guide, would it be only one angle, being the o aka the origin.....mathematically...∟soe...start(radial), origin, end(radial)???
Printable View
not to raid on your parade aka awsome guide, would it be only one angle, being the o aka the origin.....mathematically...∟soe...start(radial), origin, end(radial)???
Yes the search area would be defined by the sector SOE as you call it with the specified radius.
heh sweet. thnx for the tut
Thanx for this tut. I especially found the failsafes handy
Thanks, this came very usefull at my Chopper+Banker :)
:O They have worked so much on SCAR sine I first started to use it (v1.13, still have it =)). So many clever functions and procedures. Your tutorial explains well these funcs and proceds which make your life easier.
Never knew how to make a MapWalking script. Thanks for the info.
Ah just what i needed :)
I'm working on a flaxspinner script and tried RadialWalk.
But cause the colors keep changing i want to use RadialWalkEx but i can't find a good tutorial on how to use it.
Can you give me a quick lesson in how to use RadialWalkEx?
Ok,
SCAR Code:function RadialWalkEx(var tpa: TPointArray; cx, cy, TheColor, tol: Integer; StartRadial, EndRadial: Integer; Radius: Integer): Boolean;
Thats the function definition for RadialWalkEx. Its basically the same as RadialWalk except it has a few more options.
I'll explain the different parameters:
1. RadialWalkEx doesn't actually click the map for you, it only finds the coordinates or points with the colour in the search area. It stores this in a TPointArray. You might wanna read about TPointArrays or TPAs in the tutorials section.
2. Cx, Cy is the centre of the search area. In RadialWalkEx it is the centre of the minimap (ie. MMCX and MMCY respectively).
3. Tol is the colour tolerance.
Hmm k, ill try that out some day.
I actually had a breakthrough shortly after posting that question, so i don't really need it at the moment ;)
But thanks for always helping :)
Very Nice Guide
That was really long, but helpful :)
Im loving it!
Its really worth reading guys.
Really well explain it cleared out alot!
Respect man, thanks.
very nice ive been wondering how the hell to map walk so this will help so much !! cheers
ps i may take a long time to learn but one day i'll make a good script :)
Wow! I am definitely going to use this on all my Map Walking! Thanks soooo much!!!!
This is soo good it's crazy! TYVM! :) Rep++ For youu
necessary gravedig/bump. Excellent tut, i can't believe i never took the time to read this, i just read it all the way through for my walking.
Very educational :) Enjoyed this read, even at 2:30am!
Awesome tut! eventhouge i dind't quite understand your DTM part, and that failsafe your reffering to (something about c+1 and c-1) doesn't that just run endless if it can't locate the roadcolour?
It could be really awesome, if you updated it with reflection walking too.
Hey i'm just getting back into scripting and this guide was very very helpful. It was super clear and made sense. Thanks
wasn't as massive as you made it seem, in fact it could've been massive-er