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

Macro help for Forbidden Lands

Hello, I was hoping someone could help out with a macro for the upcoming game Forbidden Lands. I've been tinkering with it and I am just not having success. I was looking to create a macro that asks for how many dice to roll and then to display the results. I would need the pop up to ask for Attribute, then Skill, then Gear dice. Then I would need to see what each die rolled in the chat window.  From what I understand this system is similar to Mutant Year Zero and I've tried modifying the macro in that system, but I can't seem to get it to work correctly. If anyone has any tips or can point me in the right direction I'd really appreciate it.
1527696904
The Aaron
Pro
API Scripter
Can you paste what you have so far?  It does sound like Mutant Year Zero (I have an API script for that, but it requires a Pro subscription).
The best I have so far is: /roll ?{Attribute Dice|0}d6 /roll ?{Skill Dice|0}d6 /roll ?{Gear Dice|0}d6 And that works, but I don't know how to get the labels to show in the chat window, especially without taking up the entire screen. I guess the output formatting is what I can't figure out.
1527697423
The Aaron
Pro
API Scripter
Try: Attribute: [[?{Attribute Dice|0}d6]] Skill: [[?{Skill Dice|0}d6]] Gear: [[?{Gear Dice|0}d6]] or &{template:default}{{name=Forbidden Lands Roll}}{{Attribute=[[?{Attribute Dice|0}d6]]}}{{Skill=[[?{Skill Dice|0}d6]]}}{{Gear=[[?{Gear Dice|0}d6]]}}
that looks much better than what i've put together. thank you so much. is there a way for the output to show each die roll result rather than the total? i'm going to see if i can figure it out on my own, but i'll check back if i get it wrong.
1527699597
The Aaron
Pro
API Scripter
Unfortunately, there isn't without the API or using the /roll options like you had... Well, you might be able to make n^3 macros (where n is the maximum number of possible dice for any one roll) with each spelling out a possible number of inline rolls, then use a query to select between the macros based on the number of dice and a naming convention, but that would be a ton of work and might not actually work depending on when macros are expanded vs roll queries...
that's ok, i can hover over the roll result and get the individual results. thanks again for your help!
1527701362
The Aaron
Pro
API Scripter
if you add sd onto a die roll, you'll get the dice in sorted descending order (or just s for sorted): Attribute: [[?{Attribute Dice|0}d6sd]] Skill: [[?{Skill Dice|0}d6sd]] Gear: [[?{Gear Dice|0}d6sd]]