TheAppFoundry 11 Posted July 9, 2017 I don't see an option in the DreamBot API for auto-cast and I need to be able to setup autocast when a user wields a staff for an example. Is there any way to achieve this?
Manly 879 Posted July 9, 2017 There is no method to do it in the api. You need to make ur own using widgets and settings.
TheAppFoundry 11 Author Posted July 9, 2017 @@Man16 What's "Widgets and Settings" EDIT -- I see widgets in the API but I don't see settings
Pyth 128 Posted July 10, 2017 @@Man16 What's "Widgets and Settings" EDIT -- I see widgets in the API but I don't see settings Turn on Tools > Widget hover and Tools > Game Debugger > Widgets. the WidgetChild id to click auto spell in the combat tab is 593, 24. So your code to open that would be (Make sure your combat tab is open or this wont work.) WidgetChild w = getWidgets().getWidgetChild(593, 24); // set w as the set spell widget w.interact("Choose spell"); // interacts with the widget and from here on you would need to get the widget for the spell you want to autocast.
Recommended Posts
Archived
This topic is now archived and is closed to further replies.