Home API Manuals About Forum
Toggle Dark/Light/Auto mode Toggle Dark/Light/Auto mode Toggle Dark/Light/Auto mode Back to homepage

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));