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

Change variable with macros

Hi, I creat a rpg were every action have an impact on the characters stats (such as attacking cost health) and I wanted to know how to chage a varible (like healh) with a macro ? For exemple, I want that when the player clic on the abilitie, it automaticaly roll the dice (that I know how to do) and change the life and mana of the player's hero. I know my game will finaly look more like a video game than a rpj, but it can help for the free flow... (Don't care about my English plz...) thx
1431386166
Lithl
Pro
Sheet Author
API Scripter
This is doable with the API, but not with regular macros. The API requires that the campaign creator has a Mentor subscription.
I know you can do that with API, you can do everything with API, but I don't want to pay every month just to do that... Is there an other way ?
1431447489
The Aaron
Roll20 Production Team
API Scripter
There is not facility for automation in the macro system, only calculation. Automation is purely the prevue of the API, as Brian has mentioned.