Log in

View Full Version : RoadWalkTol- Not recognized as a command...



Jason2gs
02-25-2007, 05:04 PM
program New;
{.include SRL/SRL.scar}
begin
SetupSRL;
RoadWalkTol(6381672, 'N',5);
end.




Line 5: [Error] (17671:1): Unknown identifier 'RoadWalkTol' in script
Failed when compiling


How come? It's in the SRL include file under "xMapWalk"...

Please help,

Mike.

Yakman
02-25-2007, 05:37 PM
if its in xMapWalk, that means you need to add
{.include SRL\SRL\Extended\xMapWalk.scar}
at the top of your script

Jason2gs
02-25-2007, 05:40 PM
Ah.

I guess I figured-

{.include SRL/SRL.scar}

Took care of everything in SRL.


program New;
{.include SRL/SRL.scar}
{.include SRL\SRL\Extended\xMapWalk.scar}
begin
SetupSRL;
RoadWalkTol(6381672, 'N',5);
end.


I ran that, and it didn't do anything. It just left the mouse where it was.

Is that not how I'm supposed to set the procedure?

bobert5696
02-25-2007, 06:45 PM
i was wondering hte same thing, i was tryign to write a script earlier, and i was tryign to use that command, and it wasnt working :(

Jason2gs
02-25-2007, 06:49 PM
Alright, I just got it to work!

Getting an error though...



Line 45: [Error] (48:29): Unknown identifier 'x' in script C:\Program Files\SCAR 2.03\includes\SRL/SRL/Extended/xMapWalk.scar


I think you have to move your to around where you want to click.

It's worth a try, it's a sweet command :)

Bobarkinator
02-25-2007, 10:31 PM
I'm using RoadWalk(color,Dir) in my script. No tolerance and it works fine

n3ss3s
02-26-2007, 06:55 AM
RoadWalk used RoadWalkTol with 0 tolerance.