XmQ Posted March 17, 2017 Posted March 17, 2017 Alright guys, I tried to figure it out but I can't just get it working. I want the not do something IF a normal person is clicking a certain thing in game. (so trough human input) Example: XMQ clicks at an chicken. Script, that is running at that time, figures out this a NPC and does a certain thing.
whipz Posted March 17, 2017 Posted March 17, 2017 46 minutes ago, Acerd said: from Mouse class is that even when human input is disabled ?
Acerd Posted March 17, 2017 Posted March 17, 2017 29 minutes ago, whipz said: is that even when human input is disabled ? one way to find out
Isolate Posted March 17, 2017 Posted March 17, 2017 (edited) Just use a mouselistener to get the click, compare positions to determine human or bot click, then get all the mobs in that area and their models and see if the click was in any of the model bounds Edited March 17, 2017 by Isolate 1