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

@{charsheet|info@{charsheet|stat}} doesn't work... should it?

Can I use one attribute as a variable to call a different attribute?
1608688852
Oosh
Sheet Author
API Scripter
No you can't - the sheet tries to parse the Attribute on the left first, so it fails. Abilities are parsed first though, so: @{charsheet|info%{charsheet|stat}} will work, where stat is an Ability on the character sheet with a relevant string inside it. But you can't just put an Attribute reference inside the Ability, or you'll end up with exactly what you already tried. You can also use the prefix trick so the Attributes are filled out from left to right without finding an illegal @{ Attribute call.