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

Macro to set HP

I'm new to macros and I'm wondering how I would set my @{hp} to be different. I've figured how to show the value but not change
1595295482
Kraynic
Pro
Sheet Author
Macros can read, but not change sheet values.  If there is a token linked to the sheet, you can change the hp from there. If you ever upgrade to a pro subscription, there are api scripts that can change token and sheet values.
Thanks for the help. My DM has pro so I'll get him to add the script.
1595299015
keithcurtis
Forum Champion
Marketplace Creator
API Scripter
The de facto favorites are: Tokenmod for changing token characteristics ChatSetAttr for changing sheet characteristics. You can do quite a bit with those two powerhouse scripts.