CodeNinja 32 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
holic 238 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"); }
CodeNinja 32 Author 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
Recommended Posts
Archived
This topic is now archived and is closed to further replies.