[RESOLVED]
I'm working on a script for the resource dungeon by the mining guild
I'm having trouble getting SPS to work. I want to use it to improve my navigation, rather than just head further east. I'd appreciate any insight anyone might have as to what is causing me trouble.
I know that SPS is finding the map image correctly, but it isn't doing anything with this code...
Code:
procedure depositOre();
var pathToDepositBox : TPointArray;
begin
pathToDepositBox := [[286,233],[197,235],[144, 229],[114,209]];
if SPS.walkPath(pathToDepositBox) then
begin
minimap.waitPlayerMoving();
wait(pause);
end
and more stuff later on that doesn't touch on SPS
I've been racking my brains trying to figure out what the likely culprit is. It looks like the same format used in the tutorials, but the walkPath() comes back as false so it just skips the block after it.
SPS image file attached in case that sheds some light on things.