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

[Script request] Adding rollable tokens to the new door/window system

December 30 (2 years ago)

Edited December 30 (2 years ago)

Hi ! I've been using Matt Doors for a while now but since Roll20 released easier and more interesting doors I'm considering making the transition to them.

However, the only two reasons I'm not switching to Roll20's doors now are the following :


1) Opening/Closing a door doesn't make any sound (fixed with Keithcurtis's script)

2) Doors can't be linked to a rollable token (or a token anyway), to make the rollable table flip to a different state when opened (or vice-versa)

Would anyone be able to find or provide a solution for the second reason ?

Thanks for reading, happy rolling!

December 30 (2 years ago)
keithcurtis
Forum Champion
Marketplace Creator
API Scripter

A script could certainly be written for that. Doors and graphics have ids, and a change in the state of a door could be linked to changing the displayed face of a graphic object's ID.

December 30 (2 years ago)

Sadly I don't have the skills to write such a script, I know how to tinker a bit with JS but Roll20's version is alien language to me