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

D&D 5E Secret Stealth Roll

Hey all, I setup this as a way that I can roll my player's and NPC's stealth checks. I'll probably adapt it to Perception and Investigation checks as well. /w gm ------------------------------------------------------- /w gm @{target|token_name} Rolls for Stealth /w gm -------- Roll 1 /w gm [[1d20+@{target|stealth_roll}]] /w gm -------- Roll 2 /w gm [[1d20+@{target|stealth_roll}]] Works fine, but the output is relatively ugly compared to those cool templates available. Is there a way to re-write this to use the templates while also keeping the roll a secret?
1599778361

Edited 1599778378
You can use a roll template . The default template looks like this:  /w GM &{template:default} {{name=@{target|token_name} Rolls for Stealth}} {{Roll 1=[[1d20+@{target|stealth_roll}]]}} {{Roll 2=[[1d20+@{target|stealth_roll}]]}} I know that there is also a specific template for 5e as well, but I'm not as familiar with that one. 
What I'm not getting as well as I am reading the wiki, is that there seem to be some built in roll template functions, but I can't find a list.  I started perusing the character sheets for the Monster Manual entry i created for goblin and I don't see anything called npc_init So I don't know where that comes from, but the Button I added to the token when selected (Thanks @Taking10 chennel on Youtube).  I used this which works well: %{selected|npc_init} But I don't know where it comes from or how to find anything else that looks useful.
Also - Thanks Erik M. !
Make your command this: /w gm %{target|stealth} or /w gm %[target|npc_stealth} The @ calls for an attribute, the % tells it to initiate a sheet command.
Where is there a list of "sheet commands" ?
Don't know about an actual list anywhere. I got those from helpful older posts about making Skill Check command button menus. You can also right click on any rollable "button" on the sheet and Inspect Element. It will provide a name for the button as "roll_x." The x is the command you'd use with the %{character|x} command, where character can be a specific sheet's name, target, or selected.
1599788734
Kraynic
Pro
Sheet Author
That syntax is brought up in a couple places in the wiki. <a href="https://wiki.roll20.net/Macros" rel="nofollow">https://wiki.roll20.net/Macros</a> <a href="https://wiki.roll20.net/Journal#Abilities_.28Need_Update.29" rel="nofollow">https://wiki.roll20.net/Journal#Abilities_.28Need_Update.29</a> The list for each character sheet will be different.&nbsp; You can see exactly what it is by dragging a roll button to the quick macro bar, making a roll from there, and then putting your cursor in chat and hitting the up arrow to see the last code.&nbsp; Rolling direct from the sheet button and using the up arrow will give you the full roll macro, but doing so from the quick macro bar will show you the exact command type that Dakota H. mentioned. Unless I missed it, the Help Center article only has the commands for repeating sections listed.&nbsp; <a href="https://roll20.zendesk.com/hc/en-us/articles/360037773573-D-D-5E-by-Roll20#id-5thEditionOGLbyRoll20-AdvancedUse" rel="nofollow">https://roll20.zendesk.com/hc/en-us/articles/360037773573-D-D-5E-by-Roll20#id-5thEditionOGLbyRoll20-AdvancedUse</a>
Thanks to both of you!