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

Die rolls in the GM Note section of the Journal?

September 14 (8 years ago)
Hi all,
Is it possible to add a die roll mechanism to the journal entry for the DM?  Basically whenever the entry is opened a roll is made.  This is useful as I use it for random encounter tables related to the journal.  For example in a web choked passageway handout I may have this in the GM's section: "giant spiders attack on a roll of 1-2 on a d6"  Would like to have a die roll in there too.

Thanks in advance.
September 14 (8 years ago)
Tetsuo
Forum Champion
You could set up a rollable table and just roll [[1t[table-name]]. You could have results weighted differently to affect chance of occurring. 
September 14 (8 years ago)
The Aaron
Pro
API Scripter
Not really.  There might be a way to add a button you could click to perform the roll, but that might require the use of an API script, or at least a javascript bookmarklet.  Maybe Silvyre knows...
September 14 (8 years ago)
Tetsuo
Forum Champion
Alternatively, you could probably repurpose the It's A Trap API to roll on an encounter table when a token moves into the web filled corridor
September 14 (8 years ago)
It is possible to use the api button format to roll a macro from a link in a handout. I started using that sort of thing with the players' spell book so they can cast right from the handout.

Add the link to some text and in the URL section type

! & % # 13 ;%{Charname|Abitily}

Take out the spaces there and it will roll that ability when you click on the link. Be careful not to re-open as it will revert the special characters and become gobbledy gook.
September 14 (8 years ago)
To add to what Ed S. suggested, check out: Journal Command Buttons
September 14 (8 years ago)
Gold
Forum Champion
I would use Token Actions for this situation. It would not be within the "Web Choked Passageway Handout", but would be a clickable button to-roll on a token (graphic image) of a web in the web-choked hallway.  

So when the Players get to the hallway, as GM you can click on that Token Action to roll that roll, and it can be a hidden GM roll if you want only GM to see. You could also have the same or another token action that spits the Hallway Description text into the chat, and even putting a picture into the chat.

Token Action wiki,
https://wiki.roll20.net/Token_Actions
September 15 (8 years ago)
Thanks all for the ideas. 

Ed S. that's not quite what I was after - just looking for a straight roll.  Can you take your idea and have it echo a role to chat by chance?

Gold, that's a solution sure, but since I run 5e and most of my combats are abstracted and the tokens/maps generally only used as decoration (or for battles involving more than 5 combatants) it would actually be faster to type /gmroll 1d6 or familiar.

September 15 (8 years ago)
The function of the link-button in the handout is that it will activate a macro from a sheet and if that macro has rolls for the chat, then yes it will output to the chat. I have a character sheet that has most of my macros on it in the Abilities section of the sheet. You could have a macro there to roll anything. One caveat, the button links won't work with a sheet that is popped-out. 

Roll20 is good for having many ways to skin the cat as they say.
September 16 (8 years ago)
Thanks Ed.  So I created a simple macro called Random-Encounter-1d6 and all it does is /gmroll 1d6 how do I then link it in the handout so when I click it makes the roll?  Tried a few different things but couldnt get it working.

September 16 (8 years ago)
Scott C.
Forum Champion
Sheet Author
API Scripter
Compendium Curator
Take a look at the jouranl command button wiki entry that Silvyre linked above. It works perfectly.
September 16 (8 years ago)
Works perfectly, thanks both.