laakerules
2012-01-26 18:16:26
How do i do this? i tried doing the object DTM and that failed just as much.
2012-01-26 18:16:26
2012-01-26 18:26:32
2012-01-26 18:31:22
2012-01-26 19:04:01
{$i sps/sps.simba} At the top first of all. Then in your script when you use it you willSPS_Setup(RUNESCAPE_SURFACE,['1_1','1_2','etc']);
PATHNAME := [Point(1, 1), Point(391, 506), Point(etc, etc)];
SPS_WalkPath(PATHNAME);
2012-01-26 19:19:02
Procedure tobank;
begin
SPS_Areas := ['10_6'];
myPath := [Point(4272, 2580), Point(4273, 2604), Point(4238, 2609), Point(4201, 2622), Point(4189, 2631), Point(4190, 2662)];
SPS_WalkPath(myPath);
end;
2012-01-26 19:20:12
From: laakerules
Procedure tobank;
begin
SPS_Areas := ['10_6'];
myPath := [Point(4272, 2580), Point(4273, 2604), Point(4238, 2609), Point(4201, 2622), Point(4189, 2631), Point(4190, 2662)];
SPS_WalkPath(myPath);
end;
im getting error,
[Error] (145:4): Unknown identifier 'myPath' at line 144
Compiling failed.
I dont know why, do i have to call mypath as a variable inside the to bank procedure? This is my first time with paths.
Var
MyPath: TPointArray;
2012-01-26 19:23:28
2012-01-27 04:52:44
From: lilcmp1
There has to be a guide somewhere..
You needAt the top first of all. Then in your script when you use it you will{$i sps/sps.simba}SPS_Setup(RUNESCAPE_SURFACE,['1_1','1_2','etc']);
PATHNAME := [Point(1, 1), Point(391, 506), Point(etc, etc)];
SPS_WalkPath(PATHNAME);