Sana Posted May 6, 2019 Posted May 6, 2019 (edited) I am trying to figure out how much run energy I have left. How do I do this? I don't see an API for it... There is myPlayer().getHealthPercentage(), but no equivalent myPlayer().getEnergyPercentage(). EDIT: Never mind, found it. Using getSettings().getRunEnergy(). Edited May 6, 2019 by Lansana Camara 1
EsotericRS Posted May 6, 2019 Posted May 6, 2019 (edited) I had issue with this same thing. You would think it would be under myPlayer() Edited May 6, 2019 by EsotericRS
Imthabawse Posted May 6, 2019 Posted May 6, 2019 The API is your friend. Sometimes just takes a bit of browsing to find what your looking for.
Juggles Posted May 6, 2019 Posted May 6, 2019 settings.getRunEnergy(); Glad you found the solution Closing this.