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

Wild Talents Macro Question

So I am trying to make a macro to use with a Wild Talents Game. I have the follow which is just a generic version to give me a basic option for what I am doing and should name the box, then a modifer option to select how many dice I want it to roll. The idea with this game being I need to see all the rolls, the total doesn't matter. &{template:default} {{name= ?{Name of Query|Attack|Power|Dodge|Skill}} {{Result= /r ?{Modifier|0}d10sd }} What I am getting back is a purple line instead of the 'name' of the box, then I get 'Result  /r 5d10sd' if 5 is what I put into the modifier box. Not quite sure where I am going so wrong here, but any help would be appreciated.
You're missing the closing }  on the query. {{name= ?{Name of Query|Attack|Power|Dodge|Skill}} should be... {{name= ?{Name of Query|Attack|Power|Dodge|Skill } }}
Thank you, that got that part fixed so I have a title now. The issue I have now is for my Result its just putting in my modifier d10sd. So say I put in 4 its showing up like this in the results section for the roll: Attack Result /r 4d10sd So this is what I have in there right now in the macro: &{template:default} {{name=?{{name= ?{Name of Query|Attack|Power|Dodge|Skill} }} {{Result= /r ?{Modifier|0}d10sd }} If I run just the '/r ?{Modifier|0}d10sd' by itself it does what I want it to. I thought I was following the wiki right but maybe this isn't possible to nest a modifier to select number of dice in a roll inside a macro? Any help is appreciated, thanks!
1452696728

Edited 1452696841
Pat S.
Forum Champion
Sheet Author
Gordia. Is this what you are looking for? I removed the first name=? query as you did not have it closed with the }} along with it looking like it was a dupe and changed the result formula into an inline roll. &{template:default}{{name= ?{Name of Query|Attack|Power|Dodge|Skill} }} {{Result= [[?{Modifier|0}d10sd]] }}
Thanks Pat that got me with a result now. I hate to be a pain, is there a way to make it show the rolls instead of just the total for this? In the game I am using it for you need to see matching sets of dice is how you get results. Don't need it limited to just sets, just want it sorted like it is with the 'sd'. Would be nice to have not have mouse over it to see the rolls is all. Thanks!!
No, unfortunately, you'll have mouse over the inline roll if you wish to have the roll occur within the Roll Template.
Can I get the table option still and have it outside the template as 1 macro still? The template would have been nice because its pretty, but the function is what I really need.
Sure, you can add anything to the body of a single macro. &{template:default} {{name=?{{name= ?{Name of Query|Attack|Power|Dodge|Skill} }} /r ?{Modifier|0}d10sd