Step 0 Share Posted September 27, 2017 I'm brand new to scripting bots. How can I check if an interface is open and interact with it. Specifically trying to use a gold bar on a furnace and click make item Link to comment Share on other sites More sharing options...
Nuclear Nezz 2051 Share Posted September 27, 2017 widgets Link to comment Share on other sites More sharing options...
ozeki6 32 Share Posted September 27, 2017 An interface is an widget . For example the bank interface . Most of the widgets have childs . For example the "x" button in the right upper corner of the bank is a child of the bank's interface . Some childs have childs too , be aware of that . Let's say I want to see if the bank interface is open . You can do getWidgets().getWidget(id) != null . If it's non null it means it exists and its visible . Let's say I want to close the bank , you could do something like getWidgets().getWidgetChild(id1,id2).interact(). id1 = parent id and id2 = child id . Link to comment Share on other sites More sharing options...
Step 0 Author Share Posted September 27, 2017 widgets ty, figured out how to use the game debugger too Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.