Sockz
2012-04-24 05:15:08
Whenever i try to use SPS to walk to places off the minimap it will do nothing. If the last point in the path array is on the minimap then it will walk to that, if its not it will do nothing :/
here is my sps parts of the script
I have tried this with many other areas also but still the same issue, am I doing something wrong? Thanks.
here is my sps parts of the script
{$DEFINE SRL5}
{$i srl/srl.simba}
{$i sps/sps.simba}
procedure WalkCentre(team: Boolean);
var
x, y: Integer;
path: TPointArray;
begin
SPS_Setup(RUNESCAPE_SURFACE, ['0_12','1_12']);
case Team of
true:
path := [Point(378, 5052), Point(367, 5050), Point(357, 5044),
Point(348, 5027), Point(347, 5016), Point(346, 5005),
Point(350, 4996), Point(356, 4985), Point(364, 4977),
Point(374, 4971), Point(382, 4966), Point(395, 4964),
Point(405, 4969), Point(416, 4978), Point(427, 4985),
Point(435, 4993), Point(445, 5001), Point(451, 5005),
Point(457, 5011), Point(467, 5018), Point(471, 5024),
Point(479, 5034), Point(487, 5046), Point(486, 5053),
Point(486, 5063), Point(488, 5070), Point(492, 5064),
Point(493, 5056), Point(498, 5050), Point(502, 5043),
Point(506, 5040), Point(513, 5035), Point(520, 5030),
Point(527, 5028), Point(538, 5024), Point(546, 5021),
Point(556, 5018), Point(562, 5018), Point(570, 5021),
Point(583, 5020), Point(594, 5022), Point(603, 5022),
Point(625, 5023), Point(637, 5024), Point(653, 5025)];
false:
path := [Point(664, 5251), Point(680, 5250), Point(709, 5250),
Point(682, 5265), Point(681, 5285), Point(691, 5298),
Point(699, 5279), Point(699, 5267), Point(679, 5303),
Point(668, 5306), Point(667, 5267), Point(664, 5278),
Point(663, 5290), Point(660, 5299), Point(651, 5304),
Point(645, 5309)];
end;
SPS_WalkPath(path);
end;
I have tried this with many other areas also but still the same issue, am I doing something wrong? Thanks.