Roll20 uses cookies to improve your experience on our site. Cookies enable you to enjoy certain features, social sharing functionality, and tailor message and display ads to your interests on our site and others. They also help us understand how our site is being used. By continuing to use our site, you consent to our use of cookies. Update your cookie preferences .
Create a free account
This post has been closed. You can still view previous posts, but you can't post any new replies.

Exhaustion ...


Edited 1550028177
I have searched through the forums and have not been able to find a topic that asks this question. So here it goes (I apologize if this is in fact a double post.) I have many different API Scripts and Macros in my game. I have some that change information on the character sheet based on what my players do. Such as the Ammo Tracker, Spell Slot Tracker, Death Save Tracker, and so on. My question is, is there an API or a Macro that would allow me to simply push a button, select the level of exhaustion, then update that information on the character sheet for the selected token, and put the information in the chat, as it does with the StatusInfo API. I do use the TokenMod, StatusInfo, and 5th Edition OGL by Roll20 Companion APIs (just to name a few). I also have a few different Macos I use as well. One for calculating XP, one for adding lighting to the token (for advanced lighting), one for Initiative, and others. Thank you for any response I get on this.
Sheet Author
API Scripter
You could use ChatSetAttr to update the attribute on the character sheet. It can print the information in chat but its a simple readout, something like "attribute name now has the value x". 
So I would type that up ... !ChatSetAttr Exhaustion 1?
Sheet Author
API Scripter
The script has extensive help, it's been a while since i used it but I'd expect it to be something more like !setattr --sel --Exhaustion|1 but check the help first.
It didn't work. Check the help for what script? TokenMod, or StatusInfo?
Forum Champion
Marketplace Creator
API Scripter
I got it. I saw what GiGi was saying. I just added them into the StatusInfo Script. Thank you for your assistance.
Hi Cruise, as you're sorted out now I'll be closing this thread.