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

Can you manually roll a token with API?

1422498847

Edited 1422498880
I'm designing a modal character who can readily change between forms. It uses a rollable table token. I'd like to be able to issue a command that causes it to change predetermined forms, since I could add it to the macro that calls my other script to change its stats between forms. Can this be done with or without API?
1422500155
The Aaron
Pro
API Scripter
Not really. You can set the side parameter to a different side, but it doesn't change the imgsrc. I've highlighted this to the devs as a bug. The closest you can do is manually change the imgsrc to the nth side image, but only if that image is in a user library and not in the marketplace.