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

Random Token with rollable tables

February 08 (6 years ago)

Hello !


I was about to create rollable tables to generate random NPC token with simple clicks. My goal was to have a "Normal man" table, "Normal woman", "old man", "old woman" with a lot of tokens for each table...


But when I click on "token", I always have the same token from my table. I'd like to click 4 5 times and have a random token on the map for each click, and not the same everytime...


It is possible ? Thank you for you time !

February 08 (6 years ago)
Andreas J.
Forum Champion
Sheet Author
Translator

Look on the wiki page if you missed something while setting it up:

https://wiki.roll20.net/Collections#Creating_a_Rollable_Table_Token

February 08 (6 years ago)
keithcurtis
Forum Champion
Marketplace Creator
API Scripter

When you click "token" in the collections tab, the resulting token will always be the first image in the table. Once it is placed, you can randomize the side.

Note that as a Pro User, you can use the Token-mod API to select a whole bunch of tokens and randomly select their sides with a single command.

Hint: If you link all of your "normal person" tokens to a single character sheet, you can place token abilities on that character. With the API, you could randomly generate individual names per token from a separate rollable table. You could also place personalities, price lists, treasure, possessions or anything else in the Token Notes (separate API). I use this method in my own campaign.