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

Dragon Age Macro-color help

Ok, so I will try and keep it short but still not mess up what I mean. I am running a Dragon Age RPG campaign and I have an awesome group doing tons of RP in "the background" aka the chat while the other players are doing their rolls or I am doing something that only involves 1 of the players and not the others. But because of the fact that DA:RPG uses 3d6+X as it's default roll for pretty much anything this blocks alot of the chat. So I made this macro ; &{template:default} {{name=?{Action| Attacks }}} {{Attack=[[(?{Roll| 3d6 })+(?{Bonus| 0 })]]}} {{damage=[[(?{Dice| 1d6 })+(?{Bonus To Dmg| 0 })]]}} to keep the roll in a smaller box with all the numbers easily to spot. Now DA:RPG also has something called "stunts" which is basically when the attack roll (3d6) gets at least 2 of the 3 dice showing the same number. So f ex. 2+2+4=8 is a stunt as there is 2 2's. 3+2+3 is also a stunt as there is 2 3's. With the macro above The dice is not shown (unless you mouse over) so it is a bit more likely you will miss the stunts in the middle of rolls. I have been unable to make the regular roll "/r 3d6" to be shown inside the neat little template box. Is this possible? If not possible I have noticed that the box showing the number has a green border if a die is a 6 (highest number) or a red border if a die is a 1 (lowest number). Is there any way for me to change the macro so that it shows a color if there are matching die? Thanks for the help.
1436235213
The Aaron
Roll20 Production Team
API Scripter
Show /r 3d6 in a Roll Template: No, you can only use Inline Rolls in a Roll Template. "Value" can be either text or an inline roll, including macros, abilities, etc. Note that if you use a macro or ability, it must be an inline roll, not a "/roll" command. See: <a href="https://wiki.roll20.net/Roll_Templates" rel="nofollow">https://wiki.roll20.net/Roll_Templates</a> Coloring the borders of inline rolls: There are 3 colors you can achieve: red, blue and green. Red is the color for critical fail. By default, it occurs if one of the dice is a 1. Green is the color for critical success. By default, it occurs if 1 of the dice is the maximum for the die size. Blue is the color if at least 1 die is a critical fail and at least one die is a critical success. You can change the numbers that are considered critical success and critical failure, even giving them a range. By overlapping the ranges, you can even get the blue on a single die. Here is an example of highlighting red if any of the dice rolled are a 4: [[ 3d6cf4cs0 ]] I've set the critical failure to be on a 4 and the critical success to be on a 0 (which will not happen). See: <a href="https://wiki.roll20.net/Dice_Reference#Critical_Su" rel="nofollow">https://wiki.roll20.net/Dice_Reference#Critical_Su</a>...
Thanks a bunch for the reply!
1436272848
The Aaron
Roll20 Production Team
API Scripter
No problem! Definitely come back if you have more questions! (moved to Specific Use Questions forum)