FindCount

Returns the number of items found by using the functions FindType or FindTypeEx

If no objects found, or char disconnected - returns 0.

NB: Items stack, containing lot of items - will be counted as 1 item in this method.

Pascal

function FindCount : Integer;

Python

def FindCount(): -> int

Example Pascal

  FindType(runes, backpack);
  AddAddToSystemJournal('Runes found:' + IntToStr(FindCount));
end.