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 .
×

Pushing Data

Sorry I am a little new to Roll20.  I am fluent in Java but not so much in HTML5.  I have figured out how to pull information from the character sheet but I am trying to create a macro that changes values on the sheet.  This is probably something simple but it just has not presenting itself.  After 8 hours of failures I am asking for help.   I have a druid and it is unnecessarily cumbersome to keep a character sheet for every form the character can change into.  I want to create a macro that alters the STR, DEX, CON, Basic Natural Attacks, and a few abilities by toggling from a list of forms.  That way I can select an option (including Base form) and keep everything to one character sheet attached to the same token. Like Java I need to push data as well as pull and hold values and I cannot find any good sources for Roll 20 HTML5 info sights.  I also seem to be having difficulty nesting macros which is a pain but that in another issue. I need a macro to Pull a value from the character sheet, Store that value as data to be reused later, Replace the value on the character sheet, and when dismissed Return the value to its original state.  
1552987485

Edited 1552987548
Ziechael
Forum Champion
Sheet Author
API Scripter
You won't be able to do this without access to the API (which requires the creator of the game in question to be a Pro level subscriber). Native macros cannot write data to sheets, nor is there a way to store that data without the API... sorry :( Nesting macros is  something we could help you with... the wiki has some useful info. There are also chat menus as a valid option to avoid some of the main pain points of a nesting situation.