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

Roll a die in a Rollable Table Result?

Hello all. I am trying to enter a dice roll in a result to a table roll. To be exact, I have built the "Running a Business" table as a Rollable Table. 3 of the results have a dice roll that needs to be made. I was wondering if there is a way to have those dice rolled when the Rollable Table is rolled.  For example, if the result is the following: "The business covers its own maintenance cost for each of the days. It earns a profit of 1d6x5 gp." I would like for the result to auto roll the 1d6x5 to show the result that would look like the following "The business covers its own maintenance cost for each of the days. It earns a profit of 20 gp. Any help with this would be great. Thanks 
1591370719
The Aaron
Roll20 Production Team
API Scripter
That's mostly impossible without the API, a Pro Subscriber Perk.  If the Game's Creator is a Pro Subscriber, you can use the RecursiveTable API script for this.
Thanks Aaron. 
1591370979
Kraynic
Pro
Sheet Author
Unfortunately, that isn't possible without a pro subscription for access to the api.  However, you could create macros for each die roll that exist on the rollable table.  Then create clickable buttons at the end of the macro you use for your rollable table to call up those rolls as needed. For how to make the buttons, check out the "Stupid Roll20 Tricks" thread that is pinned at the top of this Specific Use forum.  The first post is an index, and you would look for Chat Menus and maybe also Macro Character Sheet tricks to use in implementing this. You could also just have an extra line on your macro for each roll, and have all the possible dice calculations roll along with your rollable table.  You would then use or ignore the results as needed.
Yeah this Button idea sounds good. I will try that. So I would create a macro for each die and then place it in each result of the table that has a die roll. Sounds fun. I will try and figure that out! thanks
1591371429
Kraynic
Pro
Sheet Author
No, you wouldn't place them in the rollable table.  They would be displayed outside the table roll, as a shortcut to call the dice rolls if you get a table result that needs them.
ah.. I hear ya.  Cheers