FindDistance

Specifies the range for search methods FindType or FindTypeEx by horizontal.

For example, 3 - will search on all tiles inside 3 tiles radius.

Default - 2.

Pascal

var FindDistance:Integer

Python

def SetFindDistance(Value)
def GetFindDistance() : -> iunt

Example Pascal

FindDistance:= 0;'' to look only in current char location
FindType(bandage_type, ground);
  AddAddToSystemJournal('Bandages found:' + IntToStr(FindQuantity));end.