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

Token bar 3

resently i been looking though all the old post and none have been really able to answer my question. now 1st off i do understand that u can link bar 3 to the hp via the drop down but im looking to get  Bar 3 Attributes without linking it to an npcs Hp is this a thing or am i kinda out of luck?
1519272028
The Aaron
Pro
API Scripter
Are you saying you want to access the contents of the bar when it's not linked to a character's attribute? You can do that with: @{selected|bar3} for current value of bar3 @{selected|bar3|max} for the max value of bar3 That also works if it is linked to an attribute.&nbsp; You can also use the target syntax if you can't select it: @{target|bar3} or @{target|which|bar3} for the current value of bar3 for what you click on. @{target|which|bar3|max} for the max value of bar3 for what you click. You have to use the label version for the max value. You might look at this:&nbsp; <a href="https://wiki.roll20.net/Macros" rel="nofollow">https://wiki.roll20.net/Macros</a> If you're looking for a way to have each goblin have it's own hp and not share them across all goblins, look at this:&nbsp; <a href="https://wiki.roll20.net/Linking_Tokens_to_Journals" rel="nofollow">https://wiki.roll20.net/Linking_Tokens_to_Journals</a>
1519272083
Scott C.
Forum Champion
Sheet Author
API Scripter
Compendium Curator
Are you trying to create a&nbsp; mook&nbsp; perhaps? or are you trying to access the value of bar 3 in a macro?
1519272382
The Aaron
Pro
API Scripter
(hehehehehehe.. NINJA'd! =D)
1519273937
Scott C.
Forum Champion
Sheet Author
API Scripter
Compendium Curator
Gah, didn't even notice, point to your arcane scriptomancerness :)
that what i was doing wrong i though it was Bar_3&nbsp; &nbsp;but is bar3 instead and yes it is for a mook just was haveing trouble finding where the token&nbsp;attributes were
1519388900
The Aaron
Pro
API Scripter
Great!