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

How to highlight a particular random die out of a dice pool?

1751309593
Arc Dream Publishing
Pro
Marketplace Creator
Compendium Curator
Our game uses pools of d10s where you look for matching dice. That's easy with /r 10d10mts (for 10 dice) or /r 4d10mts (for 4 dice).  The tricky part: I also want to pick a random die (the "SNAFU Die") out of that pool (of 10 dice or 4 dice or whatever) and say what it rolled. On a physical table, the SNAFU die would be a different color or size or something so you could easily pick it out. So in theory the output might be: ( 2 + 2 +5+6+9) =1 Match SNAFU Die: 5 Where this hypothetical function rolls 1d5 (the number of dice in the pool) and that comes up 3 for the third die, the "5." Apologies if this is covered elsewhere already. I've hunted and haven't found it.  Thanks!
1751311393
Gauss
Forum Champion
Hi Arc Dream Publishing,  Is this for a personal game or for a custom character sheet you are making?  If it is for a personal game then you can use the Mod (API Script) called Scriptcards to do this.  I don't have the skill to write the Scriptcards script for this, but if you go to the Mods (API Scripts) forum the folks there can help you with it.  If this is for a custom character sheet, then I believe that is also possible via character sheet coding. That is also out of my wheelhouse but the Character Sheet forum can help you with that. 
1751314019
Arc Dream Publishing
Pro
Marketplace Creator
Compendium Curator
Thanks! It's for a personal game.