Jump to content

Menu Invoke example


Recommended Posts

Posted (edited)
13 minutes ago, xcx said:

are there any examples of code that use Invoke on an Entity?

 

The InvokeMenuAction requires an itemID which seems impossible for an npc

Use this helper made by @Gunman
https://github.com/MrGunman200/OSBot-Extended/blob/master/src/invoking/InvokeHelper.java

 

Example: https://github.com/MrGunman200/OSBot-Extended/blob/master/src/TestScript.java

Edited by Chris
  • Like 2

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...