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

Macros Editing charater sheets.

Hi DM here trying to figure something out. I want to make a macro edit class resources or actions. (Ex. If a skill were to use a resource called grit. using a macro would then minus the amount of grit that skill would need. Then after you look at the character sheet, the macro updates it for you.) Also (Ex. A short rest happend and you press a macro to update you character sheet of all of your short rest class actions or resources to refill.) I have tried a lot of things but as far as i can tell, macros can only reference character sheets not actually edit them. Please tell me someone found a way to prove me wrong.
1481705772

Edited 1481705836
Jakob
Sheet Author
API Scripter
As a pro user, you'll want the  ChatSetAttr API script (also available via one-click), which allows you to create macros that edit character attributes.
1481711739
Kryx
Pro
Sheet Author
API Scripter
If you're using the shaped sheet this is already a feature of the shaped companion script.
Kryx said: If you're using the shaped sheet this is already a feature of the shaped companion script. I beleive i am using the shaped legacy sheet. Your the creator i beleive? So does it also have that function if so how do i apply it?
1481743801
Kryx
Pro
Sheet Author
API Scripter
Shaped legacy can't do it. You'd have to switch to the latest shaped, install the companion script from the 1 click menu, and then turn on rests on the settings tab of the sheet.