I've tried using the TReflectObject(all kinds), TReflectNPC, TReflectGroundItem and it won't find it. Am I missing something? I'd love some help with this. Stuck with my script even though I'm about halfway.
Greets
I've tried using the TReflectObject(all kinds), TReflectNPC, TReflectGroundItem and it won't find it. Am I missing something? I'd love some help with this. Stuck with my script even though I'm about halfway.
Greets
do it like this:
You can also change a name to a IDCode:procedure ClickTree; var TreeObject:TReflectObject; TreePointz:TPoint; begin if not locPlayer.isLoggedIn then Exit; if TreeObject.Find(ObjGame,'Tree',10) then //If finds the name 'Tree' within 10 tiles. begin writeln('Found Object!'); TreePointz := TreeObject.GetMsPoint; HumanMMouse(TreePointz,5,5); Wait(randomrange(400,800)); FastClick(Mouse_left); end else begin writeln('Not found Object!'); end; end; end;
Then its like:
if TreeObject.Find(ObjGame,2224,10)
There are currently 1 users browsing this thread. (0 members and 1 guests)