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

Setting the Bar1 to "see" in one click

Hello, I was wondering if a macro or script exist to check the bar1 see and uncheck it without going in the token setting (only to make combat faster ^^). I create a roll table for my monster that can become invisible with a token transparent, so I switch side so the token stay in the token layer, but I show my player the bar1 so they can know how much they beat up a monster. The problem is when I switch for the invisible token, they will be able to see the bar1. It would be nice if I could just click on a macro to set the token bar1 on or off to the player. Thank you for reading my post and sorry for the mistakes^^
I think the only way to achieve a Bar Value edit in a macro is with a Script. I know I was curious about having a Bar Number Called out in a macro and I needed a script to do so as well. :/
1599225287
Kraynic
Pro
Sheet Author
You should be able to do this with TokenMod which is in the API script drop down.
1599225412

Edited 1599227514
thanks guy, I will check it ritght away ^^
It work just fine ^^ It took me a while to understand how to set the macro and it is fantastic ^^ Thank you very much
1599228197
keithcurtis
Forum Champion
Marketplace Creator
API Scripter
If making a token invisible is your use case, you might want to look into the "Bump" script. That moves the token to the GM layer and puts an invisible mirror token on the token layer. whatever you do with one happens with the other and you can swap them back and forth with a single command.