SRL Archive - Jr. Member General Help and Discussion

Detecting prayer points


Prometheus

2015-02-15 14:40:43

Is there a way to detect the amount of prayer points you have at the moment? Basically I want to find a way to pray at an altar once my prayer goes below 50% or a certain number.

E: For oldschool rs

Harrier

2015-02-15 14:44:52

Which include are you using?

SlipperyPickle

2015-02-15 14:46:07

From: Prometheus
Is there a way to detect the amount of prayer points you have at the moment? Basically I want to find a way to pray at an altar once my prayer goes below 50% or a certain number.


actionBar.getPrayerPercent

this should do the trick

Prometheus

2015-02-15 14:52:48

From: SlipperyPickle
actionBar.getPrayerPercent

this should do the trick


Oops,forgot to mention it was for osrs :(
thanks though

From: Hawker
Which include are you using?


Aerolib and/or srl-osr

Harrier

2015-02-15 14:55:16

From: Prometheus
Oops,forgot to mention it was for osrs :(
thanks though



Aerolib and/or srl-osr

getPrayerPercent(); (Uses the mini map orb (AeroLib))

Prometheus

2015-02-15 15:00:13

From: Hawker
getPrayerPercent(); (Uses the mini map orb (AeroLib))


Thanks! I should have looked around more in the github :duh:

Floor66

2015-02-15 15:08:29

or use the simba search function with the word 'prayer' ;)