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

Calling a character sheet attribute for a macro ?

November 05 (9 years ago)
Hi everyone,

I use a character sheet for my games and the character sheet creates Attributes in the A&A tab BUT not all attributes that are on the sheet.

When i select a token which represent a character, i can select every attributes of the character sheet for the bars.
However i can't seem to be able to call them for macro (because some of them aren't in the A&A tab).

Is there a way to call a character sheet attribute for a macro ?
November 05 (9 years ago)
Lithl
Pro
Sheet Author
API Scripter
@{Character Name|Attribute Name}. It works for all attributes.
November 05 (9 years ago)
Ah, thank you, i thought it didn't work because it showed me weird text because i didn't write it like that :

[[@{Character Name|Attribute Name}]]
November 05 (9 years ago)
Ziechael
Forum Champion
Sheet Author
API Scripter

Timer T. said:

Ah, thank you, i thought it didn't work because it showed me weird text because i didn't write it like that :

[[@{Character Name|Attribute Name}]]

If you do it without the inline [[]] (as you've learned) it will output the value of that attribute to chat, however if that attribute is an auto-calculated field then you will see the mathematics that make up the attribute rather than the end value which explains the 'weird text' :)