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 .
×

Question about macro

So, ok... What I want SEEMS simple on the surface (I've done scripting, and I've been pounding my head on my desk for about three hours now). I want a macro, either in the character sheet or outside of it (I'm a player, but the creature I'm trying to make the macro for is intended to be a long-term NPC, so I want the GM to have access to it, too, and I don't remember if GM has access to the Attributes and Ability table) that will let me/the GM use a single button roll to do multiple attack sequences. Specifically, the entity in question has a set of natural attacks, all of which have different attributes: Two claws, with the Grab feature, primary natural attack Bite, unaugmented, primary natural attack One tentacle, unaugmented, secondary natural attack Basically what I want to do is make a macro that will auto-roll all of the attacks, plus the grapple effects of the claws. I'm willing to manual put in the Grapples, if needed, but the full attack set is like three screens long when I do manually typed rolls for everything. Annoying. So, since I can do the REST if it myself, IS there a command line that would let me reference an already set up Attack set on the character sheet (or reference a specific character's Attack set for an out-of-sheet macro) and, if so, what is it?
1473802069

Edited 1473802111
Scott C.
Forum Champion
Sheet Author
API Scripter
Compendium Curator
I think that you are wanting to have a one-click ability to trigger all of your NPC's attacks at once. You could call each attack with the ability call syntax: %{...}. Attack-Macro: %{claw} %{claw} %{bite} %{tentacle} I'm not sure what system/sheet you are using, but regardless those calls will change to be whatever your attacks currently are. If on the other hand you wanted to have them all in one templated output, you could utilize the  default roll template and make one, although I'm not going to make a test one for that in this post as it depends a lot on what sheet/system you are using as far as attributes to reference. You may also have another template option besides the default if you are using certain sheets, pathfinder for instance has a highly customizable attack template.
To add to what Scott wrote, Sheet Roll Buttons are called using the same syntax as Ability calls . Check out the Sheet Roll Buttons section of the Roll20 Wiki for instruction on how to acquire the Ability call associated with a Sheet Roll Button.
1473802356
Scott C.
Forum Champion
Sheet Author
API Scripter
Compendium Curator
Ah, thanks Silvyre, I always just considered the sheet rolls abilities and have been referring to them interchangeably. So, to clarify my post, I was referring to referencing the sheet roll button in my example macro.
I figured out how to do it, sort of, with the Roll Templates. Couldn't figure out how to get the other two to work, though. (My GM wanted to know how to do the template anyways, so coherent work. lol)