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 here.
×
×
Cookie Preferences
We use Cookies to help personalize and improve Roll20. For more information on our use of non-essential Cookies, visit our Privacy Policy here.
I have my rollable table set up and ready for use in a macro, is it possible to use a die roll to generate (1d6-1, in this case) draws from the table, and how do I set this up? Thanks!
Hi Scott, this works, however when I try to set this up as a whisper to gm (myself) the output only includes the first item that appears. Mousing over the message shows all results. How would I fix this to have an output of all results? /w gm [[ [[1d6-1]]t[generalFeatures] ]]
Unfortunately, it's not possible to do that with base Roll20. However, I just noticed you are a pro user. Aaron's Recursive Tables script will do what you want.
Brian said: You can only show multiple table results with /r Nt[table-name] or /gr Nt[table-name]. Or an API script that expands the inline rolls... =D
Thanks for the responses. I also dicovered its possible to show it via the /gmroll function with the original macro, albeit the output is pretty ugly. i know nothing about API, but i guess its time to learn. For now the macro works like this: /gmroll [[ [[1d6-1]]t[Table-Name] ]]
I use The Aaron's recursive tables API for this !rt /w gm &{template:npcaction} {{rname=Treasure}} {{name=}} {{description=Each frost giant has a sack containing [[[[1d3]]t[GiantsBag]]].}} <a href="https://app.roll20.net/forum/post/2845333/script-recursivetables-expands-inline-rolls-in-rollable-table-results" rel="nofollow">https://app.roll20.net/forum/post/2845333/script-recursivetables-expands-inline-rolls-in-rollable-table-results</a>
There's actually an updated version: <a href="https://app.roll20.net/forum/post/4954818/script-u" rel="nofollow">https://app.roll20.net/forum/post/4954818/script-u</a>... (though you've probably got that version even though you linked to the older thread)