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 to change Attributes

Iv spent most of today looking for the info but I cant find it, which makes me feel foolish because its probably really obvious but hey! I need to track ammo so I want to add in a line that changed the Current of an Attribute and another that will refresh the Attribute to Max Im almost positive iv done this before but I cant find any examples on the macros Iv saved.
1449104327
The Aaron
Roll20 Production Team
API Scripter
It is not possible to change attributes with a macro. As you are a pro subscriber, any game you create has access to the API which can do these things. There is an Ammo script there you could use as well as some more general scripts capable of such things. If you are looking to do this in a game you didn't create, that game's creator would need to be a pro subscriber to do it. 
1449162384
The Aaron
Roll20 Production Team
API Scripter
Some additional Info: API Script Index: &nbsp; <a href="https://wiki.roll20.net/API:Script_Index" rel="nofollow">https://wiki.roll20.net/API:Script_Index</a> Ammo Script: &nbsp; <a href="https://app.roll20.net/forum/post/1034829/script-a" rel="nofollow">https://app.roll20.net/forum/post/1034829/script-a</a>... If you have any questions about the API, definitely post in the&nbsp; API Forum and the moderators and community will help you out.