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.

Is it possible to override defaults for all events?

Featured Replies

Is it possible to override the default settings for events, such as walking events and interaction events?

I know how to do this for a singular event, via instantiating a new event and using the desired setXYZ method. What I am asking is to override the default for all events of a type (walking OR interaction OR other). I need to use the same nondefault settings multiple times so I am hoping this can be achieved instead of repeating the setXYZ process I described. 

22 minutes ago, cpscripter said:

Is it possible to override the default settings for events, such as walking events and interaction events?

I know how to do this for a singular event, via instantiating a new event and using the desired setXYZ method. What I am asking is to override the default for all events of a type (walking OR interaction OR other). I need to use the same nondefault settings multiple times so I am hoping this can be achieved instead of repeating the setXYZ process I described. 

Pretty sure there isn't. Just make a method and pass Entity to it or the walk position/area and have that method set it for you so you're not repeating the same code everywhere

  • Author
16 minutes ago, Gunman said:

Pretty sure there isn't. Just make a method and pass Entity to it or the walk position/area and have that method set it for you so you're not repeating the same code everywhere

Thanks for the confirmation and suggestion I will go with that

3 hours ago, cpscripter said:

Is it possible to override the default settings for events, such as walking events and interaction events?

I know how to do this for a singular event, via instantiating a new event and using the desired setXYZ method. What I am asking is to override the default for all events of a type (walking OR interaction OR other). I need to use the same nondefault settings multiple times so I am hoping this can be achieved instead of repeating the setXYZ process I described. 

Just create your own interaction methods and use it everywhere? :D

Edited by Khaleesi

  • Author
1 hour ago, Khaleesi said:

Just create your own interaction methods and use it everywhere? :D

Yes of course. I should have specified that I wanted to know if it was possible with current API methods, and excluded custom methods in my question. Silly me :D But these responses do answer that question for me. Thank you Khal 🙏

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.