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 here.
×
×
Cookie Preferences
We use Cookies to help personalize and improve Roll20. For more information on our use of non-essential Cookies, visit our Privacy Policy here.
I was just curious if one could nest attributes inside of a macro for example @{@{character_id}|hp|max} in order to access the character's maximum hp as opposed to hard coding the character's id or name into the @{}.
Not really. You can use @{target} or @{selected} to keep things generic. To be clear, the issue is that @{hp} works fine (in an ability), but @{hp|max} tries to reference the attribute named 'max' on the character named 'hp' ?
you can add this: ~@{character_id} we use it to create link button in chat: where Fort-Save is a rollbutton. [Fort link button](~@{character_id}|Fort-Save) that way there is only one value to update, and it calls back to the sheet when a user wants the Fort-Save macro.