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.
Play Now
Join a Game
Characters
Shop
Tools
Compendium
Community
Sign In
Can you get token info (such as Bar values, token name, certain status icons, etc.) for use in a macro?
Title. I have many tokens that don't have an associated char sheet, mostly enemies that don't particularly need much more than an HP bar and a picture. Is it possible to get values from these tokens in a macro?
You can get the name and the bar current and max values. You cannot get anything else without an api script. @{selected|token_name} @{selected|bar1} @{selected|bar1|max} etc. details here: <a href="https://wiki.roll20.net/Macros#Using_a_Selected_Token_with_a_Macro" rel="nofollow">https://wiki.roll20.net/Macros#Using_a_Selected_Token_with_a_Macro</a>