Originally Posted by
YoHoJo
Look up MouseItem in the function list on the left side of Simba.
I think instead of false you need to put 1, 2, or 3 meaning left, right, or no click.
Forgot which number is what though. I think you can put SRL_MOUSE_RIGHT instead of false maybe, try that.
hmm when I put 1 it does left click but 2 or 3 does nothing (only Hovers over Logs doesnt Click them) and SRL_MOUSE_RIGHT doesn't work either?
Figured it out sorta but had to add more code put questions in blue
Simba Code:
Procedure DropLogs;
var
x, y, LogDTM, I: Integer;
SlotBox:TBox;
LogPattern:TIntegerArray;
begin
LogDTM:= DTMFromString('m1gAAAHic42JgYOBngABmIOYBYgkglgNiSSCWAmJRqBpuIBYGYg4gFoey+YCYC6oXBJiAOMReBcrCj/8zEAcYicQIAACI7gL1');
LogPattern:=[1,5,9,13,17,21,25,2,6,10,14,18,22,26,3,7,11,15,19,23,27,4,8,12,16,20,24,28];
For I:=0 To 27 Do
begin
SlotBox:=InvBox(LogPattern[I]);
If FindDTM(LogDTM, x, y, SlotBox.X1,SlotBox.Y1,SlotBox.X2,SlotBox.Y2)Then
Begin
{if} MMouseItem(LogPattern[I]) //then??why don't I need?
begin //since no if then again why do I need a begin?
Mouse(x,y, 2,2,False);
ChooseOption('Dro');
end;
End;
end;
end;