CanCo Posted August 10, 2017 Posted August 10, 2017 I was looking for checking of prayer points and turning quick prayers on and off in the api. I found the Prayer api where i found ways to turn on and off single prayers, check if quick prayers are turned on/off but not actually turning them on/off and checking the amount of prayer points that are left. I was here: https://osbot.org/api/org/osbot/rs07/api/Prayer.html Thanks for the help ;)
d0zza Posted August 10, 2017 Posted August 10, 2017 From the link you posted: isQuickPrayerActive(); will return true if quick prayer is on or false if off. To check the amount of prayer points left I use the skills API: getSkills().getDynamic(Skill.PRAYER);
CanCo Posted August 10, 2017 Author Posted August 10, 2017 19 minutes ago, d0zza said: From the link you posted: isQuickPrayerActive(); will return true if quick prayer is on or false if off. To check the amount of prayer points left I use the skills API: getSkills().getDynamic(Skill.PRAYER); I know that isQuickPrayerActive() will show if on or off im asking how to turn it on and off.
d0zza Posted August 10, 2017 Posted August 10, 2017 9 hours ago, CanCo said: I know that isQuickPrayerActive() will show if on or off im asking how to turn it on and off. Find the right widget using the widget debugger and interact with that