Why does this result in a type missmatch ?
FindItem(x,y,'bmp_Ore_Gold',315,70,499,230,5,3)
function FindItem(var x, y: Integer; IdentType: string; Ident, x1, y1, x2, y2: Integer; Tol: TIntegerArray): Boolean;
By: Nava2
Description: Finds an item in Area specified by x1, y1, x2, y2 in the Area.
Valid IdentTypes are any of the SRL_Item types. The Tol variable is:
Tol[0] : Color Tolerance;
Tol[1] : Contour Tolerance or minimum Colors to Find to be True.
************************************************** *****************************}




Reply With Quote

















. It Works now.
