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 .
×

[D&D 3.5] Build a macro to show AC values from characters

Hello, I'm trying to build some useful macros for me, the DM of our campaign. One of them would show all the AC values for my characters, and the other would show some skill values for hidden rolls. However, I can't seem to get the correct value via @{charactername|armorclass} for example, and I get instead the whole macro expression. Is there any way I can make this work?
1474206314
Scott C.
Forum Champion
Sheet Author
API Scripter
Compendium Curator
By whole macro expression do you mean you get something like "floor(x/2)" or that it just gives you the attribute calls involved? If either of these is the case, you could try putting @{charactername|armorclass} inside inline roll brackets: [[@{charactername|armorclass}]].
Yes, that solved the problem. Now, how can I format the macro to have multiple lines? Is it simple as to break the line?
1474206681
Andrew C
Marketplace Creator
You can also load it from Bars.  I have HP, AC and Speed as the bars on my Tokens.
1474209913

Edited 1474210060
Scott C.
Forum Champion
Sheet Author
API Scripter
Compendium Curator
Henrique T. said: Yes, that solved the problem. Now, how can I format the macro to have multiple lines? Is it simple as to break the line? I'd use roll templates for fancy formatting like that. I don't know if the 3.5 sheet has any baked in roll templates, but you can always use the default template that is described in the wiki. Roll Template Wiki Entry:&nbsp; <a href="https://wiki.roll20.net/Roll_Templates" rel="nofollow">https://wiki.roll20.net/Roll_Templates</a> EDIT: It looks like the 3.5 sheet does have baked in roll templates:&nbsp;<a href="https://wiki.roll20.net/Dungeons_and_Dragons_3.5#D.26D3.5E_Roll_Templates" rel="nofollow">https://wiki.roll20.net/Dungeons_and_Dragons_3.5#D.26D3.5E_Roll_Templates</a>