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

Editting Character Sheets via Macro?

Is it possible to create a macro that would edit a players gold without having to open a character sheet? I'm having trouble finding any answers on this, But, I was hoping for something similar to this [[@{Character Sheets|gold}-?{Cost}]] This only gives me the value of what it would become, but I was hoping to find a way to make the result replace the character sheets current gold value. Is this possible?
1414343870
vÍnce
Pro
Sheet Author
AFAIK, no. Character sheets are read-only in regards to macros.
This is possible via the API only, not via macros.
1414350673
The Aaron
Roll20 Production Team
API Scripter
Mallind, as a mentor, you can use the API for that, and the API can be actuated by a macro.
1414354194
vÍnce
Pro
Sheet Author
So, could the API be used to apply a temp condition or buff? It would be cool to click Rage-On or Rage-Off macros and have the character sheet "adjusted" accordingly. Is there currently a script floating around here that could be used for this?
1414360015
The Aaron
Roll20 Production Team
API Scripter
You definitely could do that in the API. There are some scripts around that would let you change attributes, and if you knew how you needed to change them and how to change them back, you could write macros that would do that. You could definitely write a script that understood the mechanics and handled it all more automatically.