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

How do i make a macro that can change a value?

So i am making an archer in a Pathfinder game and i was hoping, is there any way i could include a line of script or something in my attack macro to actually tick down my amount of ammo (for instance, going from 100 arrows to 99), i know how to make it look like it by going [[(@X)-1]] but how do i make it actually take one off of the total therefore making the @X attribute reduce by one without me having to do so manually
It's not possible to automate this process without the use of the API, a feature available to Pro-level subscribers.
1445814559
The Aaron
Roll20 Production Team
API Scripter
Or players in a game created by a Pro level subscriber.
The Aaron said: Or players in a game created by a Pro level subscriber. suppose im one of these, what then?
1445900819
Lithl
Pro
Sheet Author
API Scripter
Hazrond said: The Aaron said: Or players in a game created by a Pro level subscriber. suppose im one of these, what then? Your GM will have to install an appropriate API script before you can do it.