Jump to content
View in the app

A better way to browse. Learn more.

OSBot :: 2007 OSRS Botting

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Zooming out the camera

Featured Replies

Hey,

In a script I would like to zoom out the camera.

I've tried using getMouse().scrollDown(); but this method only works when input is enabled, and there seems to be no way to enable input by code.

I would like to know if this is possible without using the camera zoom widget.

Thanks in advance!

 

SOLUTION: the mouse was not focused on the game screen, to fix i just hovered the mouse over some random game object and then used getMouse().scrollDown();

Edited by MALS

1 hour ago, FrostBug said:

Can't do it with the Camera class :xboge:

It's part of the exploration of the api :boge: 

  • Author
19 hours ago, TrekToop11 said:

Could always try using the zoom virtual key

You mean the slider in the settings menu?

  • 1 year later...

Necrobumping this to ask a code snippet to solve this, can't find in API. Character can (rarely) at times get stuck around objects, going to try max pitch and disabling roofs to solve this, but would be useful to have a simple snippet for this. There's a class for this at

but this class is unnecessarily complicated for my use case (setting zoom to minimum value)

Edited by BigCahunaBurger

Create an account or sign in to comment

Recently Browsing 0

  • No registered users viewing this page.

Account

Navigation

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.