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
This post has been closed. You can still view previous posts, but you can't post any new replies.

Way for macros to affect attributes

I had a player ask if there was a way to write a macro that would deplete or edit an attribute. His example was that he wanted to make an attribute that tracked his arrows and would subtract from that amount when he attacked. I have also had people suggest this same idea for features like Rage, Bardic performance, and other abilities that have limited uses.
1367820064
Alex L.
Pro
Sheet Author
Matthew A. said: I had a player ask if there was a way to write a macro that would deplete or edit an attribute. His example was that he wanted to make an attribute that tracked his arrows and would subtract from that amount when he attacked. I have also had people suggest this same idea for features like Rage, Bardic performance, and other abilities that have limited uses. Very easy to do with the new API, although the gm has to install the script and would have to be a mentor.
Interesting. It's nice to to know that it is possible, although I was hoping for a more user friendly way of getting it done than Javascript. I've introduced about 7 of my players to Roll20 in an effort to save my gaming group and while everyone loves it, the big thing that I keep hearing is: "I wish Macros could be more complicated" or "I wish I could write a Macro to do X"
It is possible to write a complex set of API scripts that increases the functionality of macros. For example, I created an api script that adds several commands that players can use to mark targets with dots. You could easily put those commands into a macro and run them that way.
Hmm...I may have to increase my support level then it seems. I'll have to wait until I have some more money on hand, but it will be more than a worthy expense.
to save everyone else the trouble: HoneyBadger: Is the script u wrote for this on the API forums?
Yes. Your GM has to be a mentor to use these scripts though.