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 Roll Query...

1414081166

Edited 1414081342
I'm looking to do multiple inline rolls based on a query. For those trying to understand why I would want this, I'm making a macro for D&D Next Ranger's Volley ability. So far, this is what I have: ?{Enemies|2} [[ d20+ @{Character|dexterity_mod} + @{Character|PB} + @{Character|ArchB} ]] Please, I'd appreciate some help on this.
Ok, so D&D 5e uses the 'every other diagonal' movement like Pathfinder and 3.5, so that's a total of 12 possible attack(All within 10 ft from a point). That's too many to do a line for each, and few enough to still fit in the chat window, so you can do this graphically. Pick an intersection on the grid and apply each roll to whatever creature is in the given square. /me fires a volley! [Burst 10] ▓ [[d20+ @{Character|dexterity_mod} + @{Character|PB} + @{Character|ArchB}]] [[d20+ @{Character|dexterity_mod} + @{Character|PB} + @{Character|ArchB}]] ▓ [[ d20+ @{Character|dexterity_mod} + @{Character|PB} + @{Character|ArchB}]] [[ d20+ @{Character|dexterity_mod} + @{Character|PB} + @{Character|ArchB} ]] [[ d20+ @{Character|dexterity_mod} + @{Character|PB} + @{Character|ArchB} ]] [[ d20+ @{Character|dexterity_mod} + @{Character|PB} + @{Character|ArchB}]] [[ d20+ @{Character|dexterity_mod} + @{Character|PB} + @{Character|ArchB} ]] [[ d20+ @{Character|dexterity_mod} + @{Character|PB} + @{Character|ArchB} ]] [[ d20+ @{Character|dexterity_mod} + @{Character|PB} + @{Character|ArchB} ]] [[ d20+ @{Character|dexterity_mod} + @{Character|PB} + @{Character|ArchB} ]] ▓ [[ d20+ @{Character|dexterity_mod} + @{Character|PB} + @{Character|ArchB} ]] [[ d20+ @{Character|dexterity_mod} + @{Character|PB} + @{Character|ArchB} ]] ▓ Output will look something like: Blah fires a volley! Blah: [Burst 10] ▓ 11 15 ▓ 12 14 11 9 15 11 14 11 ▓ 15 16 ▓
1414087379
Lithl
Pro
Sheet Author
API Scripter
Nick, your request isn't currently possible without using the API. Something along the lines of Mark's suggestion is your best solution.
1414105676

Edited 1414105708
Thanks, Mark. If there is no way to do it inline, I guess I will have to accept that. Is there a way do do it the normal roller, then? Brian said: Nick, your request isn't currently possible without using the API. Something along the lines of Mark's suggestion is your best solution. Thanks, Brian. This seems to be the case quite a bit of the time that I ask for help. Maybe I should start assuming that if I need help with anything that I try to concoct, then it doesn't work. Maybe I should convince my GM to find a roller API for me.
If you don't care for the full 12-square macro (can't blame you; it's nasty looking to code) you can just write a very simple macro and press it as many times as as you have targets.
Mark G. said: If you don't care for the full 12-square macro (can't blame you; it's nasty looking to code) you can just write a very simple macro and press it as many times as as you have targets. That's what I was thinking I was going to do. It's not that the full 12 is huge issue. It's just that don't like to flood the chat-box with unnecessary stuff. Thanks for all of your help, guys.