Log in

View Full Version : SPS Walking Help



Drax
02-12-2012, 06:27 AM
Ok So i am using sps walking for my script how would i go about killing the walk path if so say you die? So it doesn't keep trying to walk.

For example. Below is a part of my script that i want to be able to end when it's being run, if it detects that the player has died.


begin
SPS_Setup(RUNESCAPE_SURFACE,['2_12','1_12']);
myPath := [Point(822, 4947), Point(823, 4952), Point(823, 4957), Point(820, 4962),
Point(815, 4969), Point(812, 4973), Point(808, 4978), Point(803, 4984),
Point(799, 4984), Point(793, 4987), Point(782, 4987), Point(777, 4990),
Point(772, 4993), Point(765, 4994), Point(758, 4994), Point(750, 4994),
Point(741, 4993), Point(734, 4991), Point(730, 4992), Point(724, 4992),
Point(717, 4992), Point(709, 4992), Point(699, 4992), Point(687, 4992),
Point(682, 4992), Point(679, 4991), Point(675, 4991), Point(669, 4991),
Point(664, 4991), Point(658, 4991), Point(651, 4992)];
SPS_WalkPath(myPath);
Result:=True;
end if FindBlackChatMessage('Oh dear') or FindBlackChatMessage('If you') then
Result:=False
end;