bishknight
2012-07-01 12:07:00
I've been following YoHoJo's scripting tutorial and I've adapted it for my own needs, yet I get the error 'Identifier expected at line 29' so I must be missing an 'end;' somewhere, right? If I am, where do I put it? If I'm not, what's my problem? Thanks for helping :P
function MineClay:Boolean;
var seX, seY: integer;
Begin
if FindObjCustom(seX, seY: ['Mine', 'Clay', 'rocks'] [8767726, 5802910, 6132391], 30) then
WriteLn ('Found the clay!');
End;
function MineClay:Boolean;
var seX, seY: integer;
Begin
if FindObjCustom(seX, seY: ['Mine', 'Clay', 'rocks'] [8767726, 5802910, 6132391], 30) then
WriteLn ('Found the clay!');
End;