hi
i was wondering how is the easiest way to find a thing on the ground??
for example some logs?
//Batnas
hi
i was wondering how is the easiest way to find a thing on the ground??
for example some logs?
//Batnas
there is a function in srl called FindObjCustom, for you, i'd suggest that.
Originally Posted by That guy that wrote forefeathers
I use FindObjCustom quite often and it perfect if you have an easilly definable single colour that doesn't clash with others around it otherwise if the object is more complex I use findObjTPA:
SCAR Code:{*******************************************************************************
function FindObjTPA(var x, y: integer; color, tol, cts, ObjWidth, ObjHeight, minCount :Integer; UpText: tstringarray): Boolean;
By: Wizzup?
Description: Finds object using WizzyPlugin functions.
Starts with a Spiral from x and y.
Put in the color, Tolerance and ColorToleranceSpeed.
If you don't know what colortolerancespeed to choose, put in -1.
ObjWidth and ObjHeight are the parameters TPAToATPAEx uses, thus filtering
the MS's FindColorsSpiralTolerance points in boxes defined by
ObjWidth and ObjHeigth.
minCount is the amount of colors it should at least find in a Object box.
UpText, is ofcourse the text the object should have. In the Multi variant the
UpText is a string array.
*******************************************************************************}
There are currently 1 users browsing this thread. (0 members and 1 guests)