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

[5e OGL] Globally Change Tokens/GM Rollilng

In my games, I like for characters to be able to view the hp bar for the monsters that they are facing.  I also prefer rolls to be out in the open and not rolled as a GM roll.  Is there a way to change this globally without going into each individual sheet/token and making the change?  I know you can change campaign default settings, but that is only for newly created tokens, correct? Thanks in advance for your help.
1488224935
The Aaron
Pro
API Scripter
It depends on what Character Sheet you're using.  The Shaped sheet Companion API script has a way of doing that.  I don't think the OGL sheet Companion script does.  If you aren't playing 5th Edition DnD, then it will depend on what facilities your Character Sheet has (particularly a companion API script).
I'm playing 5e. How do you do it in Shaped sheet? Is there a way to change sheets retroactively?  If not, can I start a new campaign, bring in the module, specify the shapes sheet, then start the campaign?
1488227131
The Aaron
Pro
API Scripter
For shaped, you run !shaped-config and where you set the default there is an option to set it on all characters. You can change sheets any time, but that will likely cause the need to open every sheet and do an import (if switching to shaped). You can create a new Game, use a module, and specify the shaped sheet.  You'll basically have to do an import each time you open a sheet (which isn't too bad). If you want to continue using the OGL sheet, you can probably use this little API script to set the output to public for rolls and show bar3 (the hit points): on('ready',function(){   "use strict";   _.each(findObjs({type:'attribute',name:'wtype'}),(a)=>{a.set({current: ''});});   _.each(findObjs({type:'graphic',subtype:'token',isdrawing:false}),(t)=>{t.set({showplayers_bar1:true});}); }); Just throw that in as an API script and start up the Game.  This will only adjust the tokens that are on a map, so dragging new tokens out you'd have to fix the bar permissions again. You can also use TokenMod to update any creatures' default token by selecting them and doing: !token-mod --set defaulttoken   
This worked great!  Thanks so much.
Can I add a line here to globally disable auto roll damage & crit as well?
1488303050
Kryx
Pro
Sheet Author
API Scripter
There is no option to turn off damage rolling on the Shaped sheet - instead there are some settings to hide damage from players which has some documentation about it. You can alter those hide options and which crit setting you use via !shaped-config.
Thanks Kryx.  I am using the OGL sheet actually, which i believe has that functionality.  I was wondering if I could add a line to the above API script that The Aaron had shared to do this.
1488304140
Kryx
Pro
Sheet Author
API Scripter
Ah, it wasn't clear which you were using and the title is deceitful so please forgive my msitake. Carry on. :)
Kryx said: the title is deceitful (You saw nothing...)