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

[5e Community] Need help setting up macro for token

Hey guys! This is my first time posting here so forgive me if I don't really explain my situation very well. I'm still very new to using macros and I need help setting one up for my token, which I'm using from a template, &{template:5eDefault} {{title=@{selected|classactionname1}}} {{subheader=@{selected|character_name}}} {{subheaderright=Class Ability}} {{freetext=@{selected|classactionoutput1}}} This worked great and since it was Sneak Attack, I thought I could add in a dice roll with it like so, &{template:5eDefault} {{title=@{selected|classactionname1}}} {{subheader=@{selected|character_name}}} {{subheaderright=Class Ability}} {{rollname=Result}} {{roll=[[d6]]}} {{freetext=@{selected|classactionoutput1}} This also worked but it wasn't exactly what I was looking for. The result for the roll is below the description but I wanted it to appear above the description and I don't know how to do it. Picture for reference, top macro for top result and bottom macro for bottom result, Any help would be appreciated, thank you :)
There are plenty of tutorials on youtube and provided by Roll20 on how to manipulate and improve macros
1471612503
The Aaron
Roll20 Production Team
API Scripter
Try this: &{template:5eDefault} {{title=@{selected|classactionname1}}} {{subheader=@{selected|character_name}}} {{subheaderright=Class Ability}} {{rollname=Result}} {{damage=[[d6]]}} {{freetext=@{selected|classactionoutput1}}
The Aaron said: Try this: &{template:5eDefault} {{title=@{selected|classactionname1}}} {{subheader=@{selected|character_name}}} {{subheaderright=Class Ability}} {{rollname=Result}} {{damage=[[d6]]}} {{freetext=@{selected|classactionoutput1}} Thank you so much! This is exactly what I was looking for. If you don't mind me asking, why does using {{damage}} instead of {{roll}} change it's position? Lord Mittens said: There are plenty of tutorials on youtube and provided by Roll20 on how to manipulate and improve macros I have tried looking through a few videos and posts like you suggested but I couldn't really find anything. Thank you for the suggestion though :)
Shafieq D. said: If you don't mind me asking, why does using {{damage}} instead of {{roll}} change it's position? {{damage}} appears before {{freetext}} in the sheet's HTML , whereas {{roll}} appears after {{freetext}}.
Ahh okay, that makes sense. Thank you :)