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

5e Shaped Sheet: Attacking with multiple optional Macro

1531189881

Edited 1531189965
(multiple options* macro, ugh) I've played around using drop down menus before, but mostly just simple yes/no and adding damage die/flat modifiers (Ranger's Colossus slayer, sharpshooter, favoured enemy), but I think this one might be slightly out of my depth. I was looking for a macro that I could press and it would give me four possible options: Option 1: Attack as normal +Option #2-4: Add a separate dice roll and then have some flavour text explaining what's going on. Obviously the attack roll is easy enough, but I'm looking for options 2-4 to add an additional box/area that includes the details on the specific ability being chosen.
1531192132

Edited 1531192195
keithcurtis
Forum Champion
Marketplace Creator
API Scripter
Sometimes the syntax on complex macros like these can be daunting. Would a chat menu giving four options work better? Each button pressed could trigger a different macro, which might be easier than trying to build it all into one. If all the macros are built as character abilities, the syntax becomes even easier. Example: you have four macros on the character sheet (abilities). They are named Option1, Option2, Option3 and Option4. You have a master macro called Attack-Options, which reads: &{template:5e-shaped} {{title=Attack}} {{text=[Attack](~Option1) [Option Two](~Option2) [Option Three](~Option2) [Option Four](~Option4)}} If you don't want to spam the chat, out "/w " at the beginning of the first line. If you are the DM, "/w gm ". Each of the sub-macros could appear in its own roll template. There are other ways to do this if you want the macros to be generally available, rather than tied to one creature but this is the simplest.