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 .
×
May your rolls be merry + bright! 🎄
Create a free account

Condition Concealer

My campaign has a little issue with all the condition symbols and health bars getting so jumbled up with each other they often become useless. I was wondering if there was an api concealed these symbols until the token was clicked. Basically I figure is whenever a token was clicked it would automatically 'check' the show bar box. And unclicked it would automatically uncheck those boxes.  And with the statuses, when a token is selected and a status effect is picked, it would save what status effects was active somewhere and delete said saved status whenever that status was unclicked. And when the token was unselected it would automatically decheck the status effect symbols. Of course to keep from getting bogged down it would have to erase all saved information whenever the sandbox was reset or something.
1440504442
The Aaron
Pro
API Scripter
The API doesn't get an event on clicking a token, so it couldn't do precisely this.  You could write an API script with a command to toggle the status markers on and off by storing them in the state, but it would require some other event to handle the toggle.  The easiest thing would be to have an API command like !toggle-status.  You could also use a particular status marker as the toggle, so turning on the white circle would show the currently selected status markers, and turning it off would hide them.
So a script that when the white marker is clicked, shows all the status marks and when unclicked turns them off. If combined with your api that can turn on and off the different colored markers, means macro buttons could be made to toggle the visibility of certain tokens statuses on and off at will. That would work.