armthehomeless
2013-05-20 03:03:48
I am trying to do YoHo's "Scripting Tutorial #2 " and I am running into an issue with finding the trees/displaying the "hooray" line.
It compiles/runs then hovers over the various trees(decently well) but doesn't actually "find" them, it just keeps looking until I end up manually stopping it. Any help would really be appreciated!
Function ChopDown:Boolean;
var
x, y: integer;
Begin
WriteLn('goodluck');
If FindObjCustom(x, y, ['Chop', 'down'], [4485263, 3496050, 4551830, 3957890, 3826303, 4155527, 3825532, 4089477, 2770265, 4683416], 10) Then
WriteLn('Hooray!');
End;
Begin
SetupSRL;
DeclarePlayers;
//Repeat
ChopDown;
//Until(false);
End. It compiles/runs then hovers over the various trees(decently well) but doesn't actually "find" them, it just keeps looking until I end up manually stopping it. Any help would really be appreciated!
from Simba onto your RS Client.