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

Macro to set Bar Location and Style

Hello all,  I have a macro that sets the Bar1 "see" value to true, but I would also like it to change the "Bar Location" to Bottom Overlapping and "Bar Style" to Compact. The current macro I have uses the API TokenMod if that helps.  Thanks!
1587824375

Edited 1587825011
The newer token features are not available to the API yet. You can set this in your Game Default Settings (<a href="https://wiki.roll20.net/Game_Settings_Page#Game_Default_Settings" rel="nofollow">https://wiki.roll20.net/Game_Settings_Page#Game_Default_Settings</a>) for future tokens . Once this is set, launch your game, open Settings (the cog icon in the right-hand Sidebar pane), and scroll down to the bottom. There should be an Apply Default Settings button. Click that and choose the default settings you wish to apply to the tokens already in your game . Click the Apply Settings button (it may take a few minutes depending on how big your game is) and you should be all set.
1587824774
GiGs
Pro
Sheet Author
API Scripter
Unfortunately the API doesnt have access to those settings, so there's no way a macro or even a script like TokenMod can change the location and style of tokenbars. Hopefully the devs pull their fingers out and expose this to the API.