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

Nested Tables that return various results

I am trying to figure out a way to have a rollable table that will do the following using the RecursiveTables API. Any help would be great! 

Lets say I want to have a table: lifestyle

which have three items: bad, good, great

If the table rolls bad, then it will automatically roll on table: bad_events

the final output would be an item from table: bad_events.


Is there a way?

May 27 (5 years ago)

Edited May 27 (5 years ago)
GiGs
Pro
Sheet Author
API Scripter

I thiknk you just put the table roll for bad_events in the item, instead of the word bad, like 1t[bad-events]

You can also include text like 

you rolled bad, here's what you rolled: 1t[bad-events]

You might need to put the table roll in inline roll brackets [[ ]] - not sure.