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

Drop down/Query limitations

So, It's always made sense to me that when filling a query the answer remain the same for all following queries of the same name for instance ?{Say something|hello!} but I've run into a road block with the methodology of this when using the new auto filled drop down variant, i intended to use the functionality to make it as such that you'd only have to press a single button, select your weapon and it'd roll everything off accordingly. below is my attack macro, it depends on you answering your weapon of choice and should answer all the remaining 'Weapon" choices and fill DIFFERENT data, but it just keeps printing the weapon name in place of rolls/numbers /me attacks @{Target|Token_name} With his ?{Weapon|Bastard Sword one handed,BS1H|Bastard Sword two handed,BS2H|Warhammer,WH} /Roll {1d20-@{Thac0}+[[@{target|AC}+?{Weapon|Bastard Sword one handed,4|Bastard Sword two handed,4|Warhammer,2}]]}>0 /me Damage /me S/M ?{Weapon|Bastard Sword one handed,[[1D8+5]]|Bastard Sword two handed,[[1D12+5]]|Warhammer,[[1D4+3]]} /me L ?{Weapon|Bastard Sword one handed,[[1D12+5]]|Bastard Sword two handed,[[2D8+5]]|Warhammer,[[1D4+2]]} is there a work around or any plans to modify query functionality to enable single answers to do multiple functions when listed again with a different output?
It will use the results of the first use of the query ?{Weapon} and input that value into the other instances of ?{Weapon}. You would need different named queries for each.
1443477347

Edited 1443477911
Roll Queries don't exactly work like that. See: Using a variable with a Macro This, however, will work: /me attacks @{Target|Token_name} With his ?{Weapon| Bastard Sword one handed,BS1H /Roll {1d20-@{Thac0}+[[@{target|AC}+4]]}>0 /me Damage /me S/M [[1D8+5]] /me L [[1D12+5]] | Bastard Sword two handed,BS2H /Roll {1d20-@{Thac0}+[[@{target|AC}+4]]}>0 /me Damage /me S/M [[1D12+5]] /me L [[2D8+5]] | Warhammer,WH /Roll {1d20-@{Thac0}+[[@{target|AC}+2]]}>0 /me Damage /me S/M [[1D4+3]] /me L [[1D4+2]] }
you're a wizard..
Wizard/Cleric, currently.