CodeNinja 32 Share Posted December 19, 2020 Since DB3 now supports all zoom levels, can we add an API option to set a specific zoom level? I looked through the API and didn't see an options for this, let me know if I missed it somewhere Link to comment Share on other sites More sharing options...
holic 234 Share Posted December 19, 2020 This is what I do to randomly set the zoom int zoom = Calculations.random(615, 1121); if (800 >= ClientSettings.getExactZoomValue()) { Mouse.scrollUpWhile(rh(500, 1000), () -> ClientSettings.getExactZoomValue() >= zoom); setStatus("Zooming in camera"); } else { Mouse.scrollDownWhile(rh(500, 1000), () -> ClientSettings.getExactZoomValue() < zoom); setStatus("Zooming out camera"); } Link to comment Share on other sites More sharing options...
CodeNinja 32 Author Share Posted December 19, 2020 13 minutes ago, holic said: This is what I do to randomly set the zoom int zoom = Calculations.random(615, 1121); if (800 >= ClientSettings.getExactZoomValue()) { Mouse.scrollUpWhile(rh(500, 1000), () -> ClientSettings.getExactZoomValue() >= zoom); setStatus("Zooming in camera"); } else { Mouse.scrollDownWhile(rh(500, 1000), () -> ClientSettings.getExactZoomValue() < zoom); setStatus("Zooming out camera"); } thanks, this is useful. i will mess around with scroll wheel, but I am not sure it can be used to set an exact zoom level Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.