hi im trying to do radial walk for the guy to find varrok road color and to click and go walk to yew. this is my procedure but it doesnt work:
var VarrokColor: integer;
FindVarrokRoadColor: integer;
Players: integer;
RadialRoadWalk: integer;
Procedure ToYew;
Var i:integer;
Begin
VarrokColor:=FindVarrokRoadColor
RadialRoadWalk(VarrokRoadColor, 321,681,71,1,1);
SetRun(True);
end;
begin
VarrokColor:=FindVarrokRoadColor
Players[CurrentPlayer].Loc := 'ToYew';
RadialRoadWalk(VarrokRoadColor,0,360,66,1, 1);
end;
begin
VarrokColor:=FindVarrokRoadColor
Players[CurrentPlayer].Loc := 'ToYew';
RadialRoadWalk(VarrokRoadColor,0,360,66,1, 1);
end;
FindRoadColor;
Mouse(x,y,10,10,true)
Flag;
FindSymbol(x, y, 'Tree');
Mouse(x, y, 6, 6, true);
Flag;
Players[CurrentPlayer].Loc := 'Mine';
End;
it says:
(line10):type mismatch
wat is this supposed to mean?
Can anyone fix this for me?


Reply With Quote




