May 10, 201510 yr Hi Im working on a bot that makes crude wooden chairs (lvl 1) in your house. The problem is, after opening the interface/menu with all the different chairs, I've got no clue how i should make my mouse go to the "Crude wooden chair" and let it select the "Build" option. Ive cheked the API on interfaces and menus and stuff but it's still a little confusing to me. Can anyone help me with this pls? ALRDY FIXED (since no one replied) I used the colorPicker for a boolean for the interface and moving mouse to rectangle stuff Edited May 10, 201510 yr by dokato
May 10, 201510 yr You could (should)'ve used the getWidgets(). This way you can see if the widget is there and you can interact with it.
May 11, 201510 yr Open up the interface debugger from the debug settings in the client. Use this to find the ID/childID/grandChildID of the correct widget option. Then as Thaantje said, get the widget using getWidgets().get(parentID, childID [, grandChindID]) and interact with it if visible
Create an account or sign in to comment