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
This post has been closed. You can still view previous posts, but you can't post any new replies.

Linked Query

The ability to link 2 or more drop-down menu queries with the same dropdown option, but different values. Example: In some Savage Worlds campaigns you might find that changing the ammo type in your weapon alters your damage and your weapons AP... these values are different... so... Damage:[[2d10!+4]] ➚[[d6!]]?{Ammo Type| |Explosive, 💣[[d6!]]|Pulse, 🔌[[2]]} AP:[[3?{Ammo AP| |Explosive,+4|Pulse,+5}]] would give you 3 options in the drop down... Blank would be normal ammo with no special properties to it... selecting Explosive would deal an additional d6 of explosive damage and increase your AP by 4... etc... with the current system this would have to be done through 2 completely different queries... Other applications for this would be things like a General purpose macro.. again going to use a Savage Worlds example (simply because that's the system my group has been playing lately).... In a mass battle you're skill rolls are done completely different than usual... you only get a single modifier that is the same across all of them... but you still get your skill ranks... so rather than create a separate roll for each skill when in mass battle, or recalculating out your other skill bonuses... &{template:solidtrait} {{skill_name=?{SkillName?|Shooting,Shooting|Notice,Notice}}} {{skill_rank=?{Skill?|Shooting,@{Shooting}|Notice,@{Notice}}}} {{skill_rank_mod=[[@{rank}-1]]}} {{skill_roll=[[1d?{Skill?}![?{SkillName?} Rank] + [[@{rank}-1]][Rank Bonus] ]]}} {{wild_die_rank=@{wilddie}}} {{wild_die=[[1d@{wilddie}![Wild Die] + [[@{rank}-1]][Rank Bonus] ]]}} {{bonuses= +[[@{rank}-1]]}} What I'm proposing would be some way to link drop-downs from multiple queries that have the same menu items... but keep the different values... Perhaps through modification to the modifier call... ?{Modifier} ?{Mod} would behave in the current fashion... ?1{Modifier} ?1{Mod} would link the queries... linked queries would require all menu items to be named the same, but the values can be different from 1 query to the next so long as the queries are named separately and the link numbers are the same... could easily allow up to 10 sets of linked queries numbered 0-9... each number creates a new set of linked queries... so ?1{mod} would not be linked to ?2{modifier} but it would be linked to ?1{bonus}
I'd like to see this for more than just roll queries. For example, it would be nice if you could select a token and have it grab the tokens name with the first instance and it's ac with the second, without needing another prompt. I also think there's a simpler way to implement it. Right now, you can use the same query multiple times, without having to actually enter it's data again, by giving both instances the same name. So it would look like this: Stuff ?{drop down|option1, sheep|option2, lemons} More stuff ?{drop down} One interesting thing to note is that the second instance doesn't actually require you to list any of the option to have the same result. I think this could be leveraged so that if you mirror the queries name you can apply different contents. So it would look like this Stuff ?{drop down|option1, sheep|option2, lemons} More stuff ?{drop down|option1, they explode|option2, highly combustible} and the result of selecting option 1 just once would be: Stuff sheep More stuff they explode This would allow you to do things like have one drop down insert both flavor text, at the top of a macro, and actual effects, later on or have one token selection call up both the target's name and ac.
Thanks for the suggestion! After 30 days, Suggestions and Ideas with fewer than 10 votes are closed and the votes are refunded to promote freshness. Your suggestion didn't build the right momentum this time, but feel free to submit it again! We find that the best suggestions describe the problem you are having, and the solution you want. You can learn more about the process of making suggestions on the Roll20 Wiki! More details can be found here .