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

Questions about using macros with target number dice

So I'm playing a WHFRP 2e game and want to make a macro that is like the character sheet roll but allows me to add in modifiers. /roll 1d100<@{Selected|BallisticSkill} +?{Modifier|0} doesn't seem to work and it also gets rid of the success or failure pop-up. Anyone know how to do this?
1468828136
Finderski
Plus
Sheet Author
Compendium Curator
Try:  /roll 1d100<[[@{Selected|BallisticSkill} +?{Modifier|0}]]
1468900072

Edited 1468900976
Finderski said: Try:  /roll 1d100<[[@{Selected|BallisticSkill} +?{Modifier|0}]] This doesn't roll at all unfortunately EDIT: Nevermind got it going
1468900159

Edited 1468900240
Does this roll? /roll 1d100<[[ @{Selected|BallisticSkill} + [[?{Modifier|0}]] ]] If not, what's the value of BallisticSkill, and what's the Modifier you're inputting?
1468900301
Finderski
Plus
Sheet Author
Compendium Curator
Evan said: Finderski said: Try:  /roll 1d100<[[@{Selected|BallisticSkill} +?{Modifier|0}]] This doesn't roll at all unfortunately I'm assuming you had a token selected? Without that it won't roll, but that formula worked for me... :-/
Nah we mostly don't use tokens in this game since theatre of mind is usually sufficient. So I started with /roll 1d100<[[@{Selected|BallisticSkill} +?{Modifier|0}]] Then I tried it with /roll 1d100 < [[?{Modifier|0}+@{Selected|BallisticSkill}]] and it worked then I switched it back I think I accidentally copied yours instead of modifying mine so it still said "selected" instead of my character's name
Silvyre said: Does this roll? /roll 1d100<[[ @{Selected|BallisticSkill} + [[?{Modifier|0}]] ]] If not, what's the value of BallisticSkill, and what's the Modifier you're inputting? This one also works. Also do you know if I can make it say Success or Failure again?
Evan said: Silvyre said: /roll 1d100<[[ @{Selected|BallisticSkill} + [[?{Modifier|0}]] ]] Also do you know if I can make it say Success or Failure again? This /roll should output '0 Successes' or '1 Successes'—is this not your experience?
Nope it no longer outputs the number of successes.  I'm not linked to tokens but I wouldn't think that would matter.
Did you replace 'selected' with the name of your Character?
I did because it wasn't rolling before that.  Now it rolls and properly adds up the target number it just doesn't announce successes.
Would you mind posting a screenshot of the macro's output in the Text Chat?
Remove the spaces before and after the inequality sign
That did it thanks so much!