Thunderwaffe Posted August 17, 2014 Share Posted August 17, 2014 I'm trying to interact with a GroundItem, but it's on top of another object. The interact() method in the GroundItem class seems to move the mouse towards the ground regardless of the GroundItem's z coordinate, but still attempts to interact with the object which makes the mouse move back and forth rapidly before clicking the object (or not clicking it all). So I'm wondering if there is any other, more efficient, way of doing this? Link to comment Share on other sites More sharing options...
Single Core Posted August 17, 2014 Share Posted August 17, 2014 Get the x- y coords of the grounditem. And calculate the offset. And make it interact with a new point. Link to comment Share on other sites More sharing options...
Thunderwaffe Posted August 18, 2014 Author Share Posted August 18, 2014 (edited) Seems it was as easy as using EntityDestination to move the mouse to the appropriate coordinates. Thanks anyway Edited August 18, 2014 by thunderwaffe Link to comment Share on other sites More sharing options...