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

Single use rollable table

I have a need for a table that has 4 options initially. Then the players will roll to get a random result. But the next time they roll, that option shouldn't be available anymore, they would only have 3 potential results. I can't see an easy way in rollable tables to make this happen though. Am I going to need to get fancier / more complicated than just having a rollable table?
1677699936

Edited 1677711094
GiGs
Pro
Sheet Author
API Scripter
You can't do this with a rollable table. You'd need to use a custom script.
1677708853
timmaugh
Forum Champion
API Scripter
I could probably do it with MathOps, Muler, some duct tape, Plugger, and ZeroFrame. Four options in the table, yeah? So we have a four item variable in a mule to begin: item=1,2,3,4 We mule the rollable table of four items, and use MathOps to return a "random among" our set of 4 items in that muled variable. We use that value to pull the data from the rollabletable (as a mule, we can access the entries by index), and we simultaneously use a plugger filter() command to filter the same series of numbers (1,2,3,4) for all numbers except for what we just selected (so now it might be: 1,2,4). The return of that Plugger statement would be formatted as a comma-delimited list again, and written BACK to the original item variable as our new available set... ...reducing each time until there are none left. Then you'd need a "Reset" option to build your original series of options again, to make the whole table available.