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

select multiple tokens make each one use ability

Hi, I have a couple of tokens (lets say 10 tokens (playing savage worlds)) that each need to roll their shooting ability. now I need to select each one and click my token action... what I'ld rather do would be select all of them and hit an action once which would trigger the shooting ability which in turn announces who shoots with name and dice... is it possible to make multiple tokens take an action?
1392216125
Tom
Plus
Sheet Author
Rather than selecting 10 tokens, which makes things problematic, maybe you can create a macro that includes a prompt for number of combatants. It then makes X rolls, with X being the number of combatants. For a melee attack, you might be able to use X to determine your gang up bonus, too. I'm in no position to play with this right now, but I'll bet someone can tell us if you can do it.
You would require Mentor subscription for access to the API. The Macro system doesn't have a way to call other macros a variable number of times. If it was a simple dice roll like a plain d20, you could query for nd20, but repeating a full macro would not be possible.
So theres no way to count selected items either short of API access? (which I'll think about getting in a month or two)
1392225743
Konrad J.
Pro
API Scripter
API is the way to go for that one as well! You could get all the selected tokens and then run a macro vs each tokens stats, etc.
Correct; API for that. You have to realize that the Macro system is ultimately fairly limited in what it can do if it's not a dice roll or reading data from a character sheet.