Is anyone else having this problem? Does anyone know of any "replacement" while Invfull isn't working?
EDIT:
SCAR Code:
function TheInvIsFull : Boolean;
var
This, That : Integer;
begin
case Players[CurrentPlayer].Integers[0] of
1: This := Shrimp_Alike;
2: This := Fish_Alike;
3: begin
This := Tuna;
That := Swordfish;
end;
4: This := Lobster;
end;
if not Players[CurrentPlayer].Integers[0]=3 then
Result := FindDTM(This, X, Y, InvBox(28).X1, InvBox(28).Y1, InvBox(28).X2, InvBox(28).Y2);
if not Players[CurrentPlayer].Integers[0]=3 then
Result := FindDTM(This, X, Y, InvBox(28).X1, InvBox(28).Y1, InvBox(28).X2, InvBox(28).Y2)or
FindDTM(That, X, Y, InvBox(28).X1, InvBox(28).Y1, InvBox(28).X2, InvBox(28).Y2);
end;
I made that to replace InvFull because it wont work...
I use that in this:
SCAR Code:
if TheInvIsFull or InvFull then begin DropTheInv:=True; Disguise('Inventory full...'); Exit; end;
In the script whenever the inventory gets full it should exit the current function...