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

Macro for group selecting creatures and changing a stat?

I'm wondering if anyone has come up with a macro or script that allows the GM to group select enemies, click the macro button, then choose a stat like HP, AC, Attack modifier, Spell Save DC and then input an amount and apply it to all of them?
1736107885
Gauss
Forum Champion
Hi DM Deadman, That would require a Mod (API Script). ChatSetAttr can do it if I am not mistaken. 
1736170904
timmaugh
Pro
API Scripter
As long as the sheet isn't a Beacon sheet (like the 2024 sheet). Also, SelectManager (part of the Metascript Toolbox) offers ways to "virtually" select tokens, allowing you to rapidly apply changes without having to manually select the group each time. How you'd apply that is up to you, but it could be with name, bar text, tooltip text, notes text, a marker applied to them, etc. You'd accomplish this by using a {&select} tag in the macro command line: {&select *, gmnotes~Horde1Group} Documentation for the criteria is here .
1736173809
The Aaron
Roll20 Production Team
API Scripter
Actually, I believe ChatSetAttr was updated a few weeks ago to support Beacon. 
1736175109
timmaugh
Pro
API Scripter
Ah, right. Fair point; I'd forgotten that.