Jump to content

Activating Quick Prayers & Some Item advise


Recommended Posts

Posted

Hello there,

 

 

Trying to make a local chinner, so I don't constantly have to look for my prayer myself, but the script can do this instead.

 

 

However, I'm wondering how to enable QuickPrayers.

I suppose it's something with RS2Widgets, but I don't really understand the parameters inside the constructors.

 

 

So, how would I be able to activate Quick Prayers? (I know how to know whether it is activated or not, just need to know how to activate)

 

 

Also, 

 

 

The best to use an Item, is it with using item.interact("Drink") for example or will that always Right Click and then click it? If so, how could I just click the item through the tab without right-clicking it first?

 

 

Thank you in advance :)

Posted

Either hardcore the prayers to actuvate and use the prayers class, or find the widget which it is. open widget debugger in the settings tab and hover over the quickprayer button to find the parent, child and grandchild ids. then you can just use:

RS2Widget w = widgets.get(parentid,childid,grandchildid);

or if there is only parent and child :

RS2Widget w = widgets.get(parentid,childid);

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...