sipfer2
2012-05-07 05:54:50
Hello guys,
I just started to try to make some Scripts for Simba.
Watched several tutorials and everything is fine. So i started to script a PowerMiner which was easy to do, but now i wanted to make a Bank function.
The banking it self is not hard but i really can't figure out how SRS_WalkPath is working. I tried it several times but it just do nothing only says "At Bank" after several minutes. I also tried to look through other scripts but even if i copy - paste their code to see where the fault is i fail.
Hopefully someone can explain to me how it works
This is the banking code:
Sorry for my bad english
I just started to try to make some Scripts for Simba.
Watched several tutorials and everything is fine. So i started to script a PowerMiner which was easy to do, but now i wanted to make a Bank function.
The banking it self is not hard but i really can't figure out how SRS_WalkPath is working. I tried it several times but it just do nothing only says "At Bank" after several minutes. I also tried to look through other scripts but even if i copy - paste their code to see where the fault is i fail.
Hopefully someone can explain to me how it works
This is the banking code:
Procedure WalktoBank;
var
myPath: TPointArray;
Areas: TStringArray;
begin
Areas := ['11_9','12_9','12_8','11_8'];
SPS_Setup(RUNESCAPE_SURFACE, Areas);
myPath := [Point(4567, 3143),Point(4567, 3139),Point(4559, 3131),Point(4551, 3119),Point(4547, 3103),Point(4539, 3095),Point(4531, 3079),Point(4519, 3063),Point(4515, 3063),Point(4515, 3043),Point(4515, 3023),Point(4519, 3015),Point(4519, 2999),Point(4519, 2995),Point(4523, 2967),Point(4523, 2951),Point(4539, 2939),Point(4559, 2935),Point(4567, 2931),Point(4575, 2927),Point(4571, 2915),Point(4571, 2907)];
SPS_WalkPath(myPath);
ClearReport;
ClearDebug;
writeln('At bank');
wait(2500);
end;
Sorry for my bad english