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.
Helo guys! I'm not talented at coding, but I'm trying to create a macro from a rollable table of random encounters, with a determined template. The macro, the rollable table and how I want it to look like:
Well, I got some progress.. It goes /w gm&{template:npcaction} {{attack=1}}{{dmg1flag=1}} {{name=Random Encounters}}{{rname=Whorlstone Tunnels}}{{dmg1=test}} {{description=#Roll_WTEncounter }} I imagine if there's any way to get that 1d4 Quasit rolled...
Without using an API script (Pro only, but there is one already written called RecursiveTable), you could maybe try something like this? <a href="https://app.roll20.net/forum/post/5636784/nesting-roll-tables-to-create-random-encounter-slash-loot-tables-without-using-the-api" rel="nofollow">https://app.roll20.net/forum/post/5636784/nesting-roll-tables-to-create-random-encounter-slash-loot-tables-without-using-the-api</a>
David M. said: Without using an API script (Pro only, but there is one already written called RecursiveTable), you could maybe try something like this? <a href="https://app.roll20.net/forum/post/5636784/nesting-roll-tables-to-create-random-encounter-slash-loot-tables-without-using-the-api" rel="nofollow">https://app.roll20.net/forum/post/5636784/nesting-roll-tables-to-create-random-encounter-slash-loot-tables-without-using-the-api</a> Whoa! thanks mate.. definitely gonna take a close look at it
I also just happened to run across this: <a href="https://app.roll20.net/forum/post/5899495/stupid-roll20-tricks-and-some-clever-ones#post-8848641" rel="nofollow">https://app.roll20.net/forum/post/5899495/stupid-roll20-tricks-and-some-clever-ones#post-8848641</a> Scroll down to Eric B's post titled: "Inline Rolls in Rollable Tables". Looks like there are some weird formatting quirks, though, so YMMV.