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

Tracker & Token bar value

Hi, My need : i want to have a GM macro in the macro bar that will set the tracker with all the player characters. The value for each character is managed manually in the bar3 of the character tokens. So i would like to have something like : /gmroll @{ token_character_1_name |bar3}&{tracker} /gmroll @{ token_character_2_name |bar3}&{tracker} /gmroll @{ token_character_3_name |bar3}&{tracker} ... But while it's working fine with "/gmroll @{ selected |bar3}&{tracker}" (and thus needing to select the tokens manually), it's not working when i use the token name => i seem to not be able to get the bar3 value by using the token name. Is there anyway to set the tracker of a character with the value of a token bar, and without needing to select the token ? Thanks in advance
1471783514
Scott C.
Forum Champion
Sheet Author
API Scripter
Compendium Curator
When you use a name in place of selected, it looks for a character. Try replacing bar3 with the name of whatever attribute you have it linked to. Although you will still have to select each token individually as &{tracker} requires a token to work.
ok I understand, for the tracker i will always need to have the token selected. Thank you for your help