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

Available Resource Macro- help

Trying to make a way to check available resources via macro in Shaped Sheet. Only the first resource works comes through in the formatted box. The rest will show but are a jumble of characters in the chat. The text of the macro is below.  {{uses=@{repeating_trait_$11_uses}}}{{uses_max=@{repeating_trait_$11_uses|max} Bardic Inspiration Dice}} {{uses=@{repeating_trait_$0_uses}}}{{uses_max=@{repeating_trait_$0_uses|max} Hero Points}} {{uses=@{repeating_trait_$1_uses}}}{{uses_max=@{repeating_trait_$1_uses|max} 1st}} {{uses=@{repeating_trait_$2_uses}}}{{uses_max=@{repeating_trait_$2_uses|max} 2nd}} {{uses=@{repeating_trait_$3_uses}}}{{uses_max=@{repeating_trait_$3_uses|max} 3rd}} {{uses=@{repeating_trait_$4_uses}}}{{uses_max=@{repeating_trait_$4_uses|max} 4th}} {{uses=@{repeating_trait_$5_uses}}}{{uses_max=@{repeating_trait_$5_uses|max} 5th}} {{uses=@{repeating_trait_$6_uses}}}{{uses_max=@{repeating_trait_$6_uses|max} 6th}} {{uses=@{repeating_trait_$7_uses}}}{{uses_max=@{repeating_trait_$7_uses|max} 7th}} {{uses=@{repeating_trait_$8_uses}}}{{uses_max=@{repeating_trait_$8_uses|max} 8th}} {{uses=@{repeating_trait_$9_uses}}}{{uses_max=@{repeating_trait_$9_uses|max} 9th}} {{uses=@{repeating_trait_$10_uses}}}{{uses_max=@{repeating_trait_$10_uses|max} Warlock Pact}}
1478009669

Edited 1478009708
Scott C.
Forum Champion
Sheet Author
API Scripter
Compendium Curator
it looks like you are trying to use roll template fields without defining a roll template. I'm kinda surprised you got any output at all. Once you do define a roll template, you will need to change the name of subsequent "uses" fields to be unique; roll templates only output the last field of a given name if there are multiple fields with the same name. I'm not familiar enough with the shaped sheet template to tell you for sure, but you will also need to make sure that you are using a template that allows custom defined fields (or already has the fields you want defined). If none of the shaped templates allow it, you can use the default template that is included in all Roll20 games. Roll Template wiki:&nbsp; <a href="https://wiki.roll20.net/Roll_Templates" rel="nofollow">https://wiki.roll20.net/Roll_Templates</a> The shaped sheet resource document:&nbsp; <a href="https://docs.google.com/document/d/1yPcIZ_bIc3JlnWsKZt2tAB0EQSIVEfeMtT0GifbpJIg/edit#heading=h.mf82k2mmoc3j" rel="nofollow">https://docs.google.com/document/d/1yPcIZ_bIc3JlnWsKZt2tAB0EQSIVEfeMtT0GifbpJIg/edit#heading=h.mf82k2mmoc3j</a> (Roll Template details start on page 25)
Thank you, I figured that was the case
1478034485
Scott C.
Forum Champion
Sheet Author
API Scripter
Compendium Curator
Good luck with your macro, and feel free to post up if you've got any further questions. The community is a great resource for figuring things out.