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

[Request] Automatically resizing rollable table tokens?

1561999099

Edited 1562003588
So, one of the things that I come upon quite a lot in my game is that I want to create a rollable table token to represent a token with different art for different sizes and dimensions. I would love it if these tokens would immediately adopt appropriate dimensions. For one of my games, someone plays a centaur, who I prefer to size to 1x1 cells whenever we're not in combat and then to 1x2 cells whenever combat starts to represent his actual size in the game. I have two different portraits for both. The problem is that each time I do, I have to manually resize the token. And if this was for just one player, that'd be fine, but I also do the same with my monsters. Example down below; It would really help if I could do this with an API script. For example, say that I add the dimensions in the name the table entry, like 1x1 and 1x2. This would also really help me with populating maps with random clutter. Is there a way of doing this? I saw an entry by Aaron that I thought did this, but it turns out it doesn't. Table Token Sizer. It'd be sweet if I could tell it to set the dimensions based on the name of each entry.
1562002394
The Aaron
Roll20 Production Team
API Scripter
I think I can get you a script for this. There are a few hurtles with getting it to work with naming Table entries (namely that a Rollable Table Token, once created, has no link to or knowledge of the Rollable Table that it was created from), but I have done ideas about how to get around that, particularly if you don't use the GM notes on the token. 
Alright, that sounds great to me! I would love to hear back from you!