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 .
×

Questions about players being able to send their roles to the GM without knowing the outcome.

Hello, Just upgraded to Pro and was wanting to dip my toe into API's. I heard that it might be possible to have my players "blindly" roll most of their Checks. I think it would be fun if instead of seeing the rolls they were making I could describe the battle, or outcome to them. Also it'd be nice if when someone rolls a low Investigation and finds nothing, the whole party doesn't try to get higher than them to try to find something someone else missed. *Maybe* I'm asking too much/ shouldn't let those kind of things happen, but I think the combat aspect would be much more interesting for them as well. I suppose worst case scenario I'd have to make them a Blind Macro, but first i'd like to know if it's possible. Thanks!
1586656922

Edited 1586657223
Pat S.
Forum Champion
Sheet Author
There is or was a script written for this. I think it is called blind rolls or something similar. <a href="https://app.roll20.net/forum/post/432151/slug%7D" rel="nofollow">https://app.roll20.net/forum/post/432151/slug%7D</a> &nbsp;is an old post.
Here's the one I use; Aaron modified it to allow inline rolling and text: // !broll 1d20+3 --Some text that shows up with the roll on("chat:message", function(msg) { var cmdName = "!broll "; var msgTxt = msg.content; var msgWho = msg.who; var msgArgs = msgTxt.slice(cmdName.length).split(/\s+--/); if(msg.type == "api" &amp;&amp; msgTxt.indexOf(cmdName) !== -1) { sendChat(msgWho, `/w gm [[${msgArgs[0]}]]${msgArgs.length&gt;1?` ${msgArgs[1]}`:''}`); sendChat(msgWho, `/w "${msgWho}" secret roll sent to GM ( ${msgArgs[0]} )${msgArgs.length&gt;1?` [${msgArgs[1]}]`:''}`); }; });
So how do i use this? Do i put this in the API at the bottom?
1586682227

Edited 1586682289
Pat S.
Forum Champion
Sheet Author
You would go to your api script page and copy the script into the library by clicking on the new script button, pasting it in, then saving it. After saving it, the library will restart then you can go inside the game and use the commands in a macro.
So I have the functionality using !broll, but I'm not sure how to get it set up in a macro to pull from my players ability scores. The macro I use for that uses a Query, would i have to set that up as each stat instead? Also thanks for helping out everyone.
1586698706
Pat S.
Forum Champion
Sheet Author
That I do not have a clue but good luck.
1586803107

Edited 1586803350
Dumbhuman
Pro
Marketplace Creator
Well, it's going to take some work for you to set up, but the very basic building block is something like this: !broll 1d20+@{selected|dexterity_mod} That rolls 1d20 and adds the dexterity_mod of the selected character, assuming they're using the DND 5E by Roll20 Sheet and don't have proficiency in the particular dexterity skill check being rolled.&nbsp; If they did have proficiency, you'd add their proficiency bonus modifier as well: !broll 1d20+@{selected|dexterity_mod}+@{selected|pb} If they have expertise in a skill, the proficiency bonus is doubled, so that would be: !broll 1d20+@{selected|dexterity_mod}+(2*@{selected|pb}) If they happen to be a Bard, you'll need to add Jack of All Trades to any skill checks they aren't proficient in, so that would be: !broll 1d20+@{selected|dexterity_mod}+@{selected|jack_bonus} Since a non-Bard will just have a jack_bonus equivalent to 0, I recommend using that as your base check.&nbsp; So you'll end up with three types of checks for a Dexterity skill which you should add as abilities to a macro character sheet .&nbsp; If you assign control of that character sheet to All Players, but don't add it to their journals then they'll be able to call its macros, but won't be able to edit any of them (and thus can't break your hard work).&nbsp; Let's assume you make a macro character sheet named Macros.&nbsp; Now you add these base abilities to it (names on top, text for the command below it): BlindDexCheck !broll 1d20+@{selected|dexterity_mod}+@{selected|jack_bonus} BlindDexCheckProf !broll 1d20+@{selected|dexterity_mod}+@{selected|pb} BlindDexCheckExp !broll 1d20+@{selected|dexterity_mod}+(2*@{selected|pb}) You'll also want to follow the same format for the other ability scores.&nbsp; Then you'll have all the roll commands you need to reference, but each player's character sheet will have a different collection of proficiency and expertise bonuses, so each drop down menu will need to be set up and personalized on their own character sheet, referencing these roll templates on the macro character sheet. This is the basic call to an ability on another character sheet, assuming that character is named Macros: %{Macros|BlindDexCheck} However, because you want a drop down menu, you'll have to change that vertical bar into its HTML replacement, so inside a dropdown menu command it would need to look like this: %{Macros&amp;#124;BlindDexCheck} So now let's say you have a character named Bob who has proficiency in Acrobatics, Insight, and Intimidation, along with expertise in Stealth and Deception.&nbsp; You would create an ability on Bob's character sheet named BlindSkillCheck and make a dropdown query that follows this sort of format (filling in the ellipsis sections with other skills of course): ?{Blind Skill Check| Acrobatics,%{Macros&amp;#124;BlindDexCheckProf| Animal Handling,%{Macros&amp;#124;BlindWisCheck| Arcana,%{Macros&amp;#124;BlindIntCheck| Athletics,%{Macros&amp;#124;BlindStrCheck| ... Deception,%{Macros&amp;#124;BlindChaCheckExp| History,%{Macros&amp;#124;BlindIntCheck| Insight,%{Macros&amp;#124;BlindWisCheckProf| Intimidation,%{Macros&amp;#124;BlindChaCheckProf| ... Stealth,%{Macros&amp;#124;BlindDexCheckExp| Survival,%{Macros&amp;#124;BlindWisCheck| Thieves' Tools,%{Macros&amp;#124;BlindDexCheck} Now you just check the box for Show As Token Action on Bob's new BlindSkillCheck ability and anytime someone selects Bob's token, they'll have a little button on the top of the screen that will prompt them for a blind skill check.&nbsp; Set up BlindSkillCheck abilities on each of your player character sheets that take account for their particular proficiency and expertise settings.&nbsp; If they gain proficiency or expertise upon leveling up, it's a simple matter of editing the ability on their sheet to add "Exp" or "Prof" to whatever skill needs it. Hope that helps.