gunggong
2013-03-02 17:46:34
This is the code i made for a test walking to a destination
however when I run it doesnt do anything and just shows this
have i done something wrong?
Thanks
program testwalking;
{$I SRL/SRL.Simba}
{$I P07Include.Simba}
{$I SPS/p07sps.simba}
Var
myPath:TPointArray;
begin
SestupSRL;
SPS_Setup(RUNESCAPE_SURFACE,['11_7','11_6','10_6','10_7','12_7','12_6']);//SPS Areas
myPath := [Point(163, 104), Point(154, 100), Point(146, 100), Point(136, 101), Point(124, 103),
Point(112, 104), Point(103, 100), Point(93, 98), Point(81, 97), Point(71, 92)];
SPS_WalkPath(myPath);
end. however when I run it doesnt do anything and just shows this
Compiled successfully in 811 ms.
SRL Compiled in 0 msec
Successfully executed.have i done something wrong?
Thanks