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

Hello! Rollable token issue!

Hi, in my game all my players are transforming consistently changing size, HP, and AC! is there an API or anything that can make this a none headache?  If so it would speed things up dramatically.
1601201151

Edited 1601201185
David M.
Pro
API Scripter
Yes. TheAaron's token-mod api script can handle this easily, but it requires a Pro account for the game in question. It can even change the "represents" property and current side of a rollable table token, for things like druid Wildshape. Another Wildshape-specific api is Andreas' Wildshape script, which requires a bit of setup but includes easy to use chat menus. If PC's are just Enlarging, etc, then I'd go the Token-mod route. For Pro accounts, this is probably the must-have script anyway, as anything you can do to a token can be automated.
I'm afraid I have zero idea how to do this at all.
1601216193
Kraynic
Pro
Sheet Author
I.K Blast said: I'm afraid I have zero idea how to do this at all. Without a pro subscription, not much of it matters, because access to the api is a perk of that level of subscription.  Without the pro level subscription, you could have a sheet for each form the druid is likely to take, with the correctly sized token attached to each form's sheet.  I don't think enlarge would be worth the upkeep of another sheet, but would just have to be manually adjusted as needed.
1601237254

Edited 1601237554
Our group does have pro. this is just me on my own looking for this.
1601249049

Edited 1601249173
David M.
Pro
API Scripter
OK, np. First, a rollable table token is just a rollable table with images for all of the items. You can drag images into each item directly from your art library. See example below. Create a new rollable table, then "+Add Item" and drag the image in. You will probably want to make the normal PC token image the first entry in your table. Once you've populated and saved your rollable table, click "token" next to the table entry in the Collections tab, here This will create a token on the current map. A new right-click menu option will show you how to manually change the side of the new rollable token. Example: Set all of the token properties for the player character as you normally would. Then, ensure that token is selected and go to the PC's character sheet. Click "Edit", and mouse over the default token, which will reveal the "remove" option. Click this, and then click "Use selected token" to make the rollable token the new Default token for the character. Don't forget to save.  After installing the token-mod script (Got to Game Settings->API Scripts-> click the dropdown menu and start typing in "Token" to select Token-Mod->"Add script"), you can set up your macro/ability to handle the token properties. The following shows a simplified example of the how to structure your macro/ability to accomplish this. Keep expanding for as many other forms as you have.  !token-mod {{ --set ?{Choose Form|Revert Humanoid,currentside#1 represents#@{Bob|character_id} width#70 height#70 |Dire Wolf,currentside#3 represents#@{Dire Wolf|character_id} width#[[2*70]] height#[[2*70]] |Brown Bear,currentside#2 represents#@{Brown Bear|character_id} width#[[2*70]] height#[[2*70]] } bar1_link|hp bar2_link|npc_ac bar3_link|npc_speed showname|yes }} If this is not for wildshape, and the PC is not changing statistics, and you just want to alter token size and the art, you won't need the "represents", "bar1_link", or "bar3_link" parameters. A full description of all the token-mod syntax is provided in a handout when you install the script, so you can pick and choose what you want to change. Hope that helps! EDIT -- an even better application of this would use chat menus rather than the drop-down. Chat menus are described here if you're not familiar with them.