I'm currently working on a script that requires interaction with a NPC.
In order to reach the NPC, the bot must check if a door is open or not, also after talking to the NPC the bot must check the door again (to make sure its open) before attempting to leave the room.
I've tried using FindObjCustom but im really not having any luck.
So far I'm using this but its resulting in the mouse going crazy:
Is there a function or easier way i can get it to check the door?Code:If FindObjCustom(X, Y, ['Open'], [8832711], 3) Then Mouse(X, Y, 1, 1, False); WaitOption('Open', 1000);
I can't isolate the area the bot searches because the NPC walks around and that might result in the bot isolating the wrong area.
Anyone run into this problem before / got a fix? lmk please
I'm off to work atm ill be back in a few hours, will post how i solved this if I figure it out after![]()



Reply With Quote




