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

Multiple Drop-downs in a single dialog box

Was unable to find much on it however I am attempting to use a tweaked greyhawk Initiative and wanted to make a macro for my players to assist with Initiative, it works fine as it however i wanted it all to fit nicely on to a single window not a series of pop up windows. any advice? below is my current macro for it. 

/gmroll [[?{Move|No, 0|Yes, 1d6}]] + [[?{Attack|Light, 1d4|Medium, 1d6|Heavy, 1d10|Spell, 1d8|Other, 1d6}]] + [[?{Spell Level|None, 0|Level 0, 0|Level 1, 1|Level 2, 2|Level 3, 3|Level 4, 4|Level 5, 5|Level 6, 6|Level 7, 7|Level 8, 8|Level 9, 9}]] + [[?{Bonus Action|None, 0|Light Attack, 1d4|Medium Attack, 1d6|Other, 1d6|Spell, 1d8}]] +[[?{ Bonus Spell Level|None, 0|Level 0, 0|Level 1, 1|Level 2, 2|Level 3, 3|Level 4, 4|Level 5, 5|Level 6, 6|Level 7, 7|Level 8, 8|Level 9, 9}]] + [[?{Swapping Gear|No, 0|Yes, 1d6}]] + [[?{Surprised|No, 0|Yes, 10}]] &{tracker:+}
July 15 (8 years ago)
It's unfortunately not possible to create a Roll Query that has multiple input fields. However, with Advanced Usage for Roll Queries, it is possible to streamline that macro a bit:
/gmroll [[ ?{Attack|
   + Bonus Action, ?{Action|
         Light, 1d4 |
         Medium, 1d6 |
         Heavy, 1d10 |
         Spell, 1d8 + ?{Spell Level|0|1|2|3|4|5|6|7|8|9} |
         Other, 1d6 
      } + ?{Bonus Action|
         Light, 1d4 |
         Medium, 1d6 |
         Heavy, 1d10 |
         Spell, 1d8 + ?{Bonus Spell Level|0|1|2|3|4|5|6|7|8|9} |
         Other, 1d6 
      } |
   Light, 1d4 |
   Medium, 1d6 |
   Heavy, 1d10 |
   Spell, 1d8 + ?{Spell Level|0|1|2|3|4|5|6|7|8|9} |
   Other, 1d6 
} ]] + [[ ?{Situation|Normal, 0|Moving/Swapping Gear, 1d6|Surprised, 10|Surprised + Moving/Swapping Gear, 10 + 1d6} ]] &{tracker:+}
The works much better! made a few changes to Situation as gear and move each have a d6 tied to them however this is awesome!

[[ ?{Situation|
Normal, 0|
Moving or Swapping Gear, 1d6|
Moving and Swapping Gear, 2d6|
Surprised, 10|
Surprised + Moving or Swapping Gear, 10 + 1d6|
Surprised + Moving and Swapping Gear, 10 + 2d6|
} ]] &{tracker:+}
July 15 (8 years ago)
Great! Happy rolling!