FindQuantity

Returns amount of items in stack, found by by using the functions FindType or FindTypeEx

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

if found object is not stack, returns 1.

Pascal

function FindQuantity : Integer;

Python

def FindQuantity(): -> int

Example Pascal

FindType(BM, backpack);
  AddAddToSystemJournal('BM in last found stack:' + IntToStr(FindQuantity));