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

Call of Cthulhu 7th Ed Macro / Sheet issues

Hello all, First of all I want to say thank you to everyone who has worked on this project. It's great! Now the issues... I'm trying to build a macro that will either determine a players skill (done this pretty easily) and then determine hard and extreme values for it. Determining the Hard and Extreme values is where I stumble. I don't seem able to find an example of using the floor function with an attribute variable. The other (and probably easier option) is just to poke the Roll The Dice button in the character sheet which does all of this for me, however I'd like to be able to do this without having the sheet open (screen real estate) and I'd like to be able to easily tweak it to add additional dice for advantage etc. Is this possible? Thanks everyone.
I think I solved this by doing the one thing I hadn't thought of and viewing the page source. /roll 1d100 vs [[@{selected|accounting}]]/[[floor(@{selected|accounting}/2)]]/[[floor(@{selected|accounting}/5)]] Is what I was looking for. I hope this helps other people. S
Final follow-up. If you click on the character sheet to roll and the hit the up arrow whilst in the chat box you can see all of the text the macro entered.
1422922375

Edited 1422922941
Matt Carpenter
Pro
Sheet Author
Hi Simon, Thanks for using the sheet. I'm not entirely sure what you are trying to do but this is how most of the roll buttons work: /roll 1d100 vs [[@{str}]]/[[floor(@{str}/2)]]/[[floor(@{str}/5)]] Note, I had the hard and extreme values stored as a separate attribute in previous versions but when I added the roll buttons I ran out of screen real-estate and had to cut something out. I figured since the roll buttons had these values in the result I could do without them. That said if you just want to avoid opening the sheet you have a few options: 1) Call the roll button directly from chat, %{dodge_check}. I tried to keep skill name and roll checks consistent so it should just be skillname_check 2) Make a macro which does the same (mostly for GM use): /emas @{selected|token_name} dodges %{selected|dodge_check} 3) Drag the button into your macro toolbar to save the ones you want I highly recommend using the roll button indirectly in one of those ways because I plan on adding support for roll tmeplates once they are in production. In my own game I use a mix of the above. Direct chat command for the stuff I don't use often and the most common stuff I have created a macro set to show up as token action. My players drag the ones they want to save into their own bar. Also 2 macros I use to add character to initiative tool. Both as set as a token action so I just click the token then click Dex Rank to add them to initiative: /gmroll 0+@{selected|dex} &{tracker} and another for those who have a readied weapon: /gmroll 50+@{selected|dex} &{tracker}
Almost forgot. Another useful trick is to open your character sheet and double click the title bar to minimize it and put it out of the way. Then if you need the sheet simply double click it again click the button you want then double click to minimize it again. Probably better for players then GMs who will be using many sheets.
Cheers Matt. I love the sheet and I'm really enjoying roll20 in general. I figured out what I needed with the help of the up arrow and the floor example I posted above. However knowing that I can call the checks in chat with %{dodge_check} definitely makes it easier to cover the edge cases. The readied weapon command is nice as well. I'll be sure to use that one. Thanks again for your help, I'm now off to make a whole bunch of characters for a campaign I've been scheming on for months. Take care!