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

Any way to roll a table a dice amount of times (No API)

1587942517

Edited 1587942724
So either, for example, roll a table d6 times and have it display all the results in one template. Another option I would be fine with is having a querie where I have options 1 through 6 and I roll the d6 in the previous template. But I have no idea how to put a table roll in a querie never mind pasted multiple times for each option. Help plz smart people.
1587955392
Mike deBoston
Compendium Curator
Something like this? This works for multiple results: /roll [[1d6]]t[injury-table] This puts multiple results in the results template... BUT, it only shows the 1st result. The others show if you hover over it. I'm not sure why it doesn't show all results. &{template:default} {{name=so many table results!}} {{Results=[[[[1d6]]t[injury-table] ]] }}
1587964592
Mike deBoston
Compendium Curator
I'd probably do something like this: &{template:default} {{name=so many table results!}} {{=Take the 1st [[1d6]] results, ignore the rest.}} {{r1=[[ 1t[injury-table] ]] }} {{r2=[[ 1t[injury-table] ]] }} {{r3=[[ 1t[injury-table] ]] }} {{r4=[[ 1t[injury-table] ]] }} {{r5=[[ 1t[injury-table] ]] }} {{r6=[[ 1t[injury-table] ]] }}
1587990221

Edited 1587990240
Mike deBoston said: I'd probably do something like this: &{template:default} {{name=so many table results!}} {{=Take the 1st [[1d6]] results, ignore the rest.}} {{r1=[[ 1t[injury-table] ]] }} {{r2=[[ 1t[injury-table] ]] }} {{r3=[[ 1t[injury-table] ]] }} {{r4=[[ 1t[injury-table] ]] }} {{r5=[[ 1t[injury-table] ]] }} {{r6=[[ 1t[injury-table] ]] }} Good idea. I just put your first one in my macros. Id rather it work without the template than not work as designed. Its a gm roll anyway so it doesn't matter that much. I hope the roll20 devs fix this. Thanks for the help.