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 that pops one window with two lists

Hi all, I'm trying to build a macro that pops a window that has two vertical lists. Attributes and Skills. The idea is that the player would chose an Attribute from the first column (radio button?) and then a Skill from the second column. When the player presses Enter, these two values would then be used in a formula like this- 1d10 + 1d10 + [attribute] + [skill] Ideally it would be a bonus if the output could label something like this- [character] rolled [attribute [value]] + [skill [value]] = [result] Is such a thing possible?
1473073492
Scott C.
Forum Champion
Sheet Author
API Scripter
Compendium Curator
You can do nested roll queries or have multiple queries in the macro, and you can reuse input from the same query, but each query can only have one dropdown list.
It's not so much a dropdown list as it would be two vertical columns of names. Attributes on the left, Skills on the right. Then the player would just chose the combo for that roll and press "Roll".
1473127153
Scott C.
Forum Champion
Sheet Author
API Scripter
Compendium Curator
You could use roll queries and do 1d10+1d10+?{Attribute|Attr1,@{Attr1}|Attr2,@{Attr2}|...} + ?{Skill|Skill1,@{Skill1}|Skill2,@{Skill2}|...}, but there's no way to do it in a single popup.
Thanks. I'll try that.