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

Change a Status Indicator Overlay's Numeral with a macro or a script?

I've been playing a great deal of Iron Kingdoms RPG, as well as Warmachine and Hordes, in Roll20. One thing we've been doing is to us the status indicator overlay numerals (which I'll call "badges" for short)  to track some of the points (Fate, Focus, Fury) that get passed from token to token in those games. It's a lot of clicking around to do, and I would love to replace that with some macros. Is it possible, then, to use a macro to decrement one token's badge and increase another's badge?  I'm not seeing any macro functions available to access or alter those status values, but I figure they must exist. Thanks in advance for any help or advice on this issue. 
1467919469
The Aaron
Pro
API Scripter
You can do this with TokenMod: !token-mod --set statusmarkers|blue:3 There are a bunch of options that go along with that, so take a look here:&nbsp; <a href="https://app.roll20.net/forum/permalink/1257490/" rel="nofollow">https://app.roll20.net/forum/permalink/1257490/</a>
Exactly what I was hoping for, thanks (yet again) The Aaron!
1467919564
The Aaron
Pro
API Scripter
Increment and decrement: !token-mod --set statusmarkers|?blue:-1 --ids @{target|point loser|token_id} !token-mod --set statusmarkers|blue:+1 --ids @{target|point gainer|token_id}
1467919588
The Aaron
Pro
API Scripter
No worries! &nbsp;Happy Rolling!
Okay, this is pure laziness on my part, but if I wanted to make token macros out of these, and just have them automatically select that token as the point getter, what command would I use?
Never mind, I got it.&nbsp;
1467939817
The Aaron
Pro
API Scripter
Cool. =D
For those of us even lazier than you or just on a device where game access isn't possible, share what you've found?
Just use what he wrote, and delete everything from "--ids" onward.
1467949163
The Aaron
Pro
API Scripter
By default, TokenMod operates on the selected tokens, so omitting the --ids section causes it to work on the current token. &nbsp; BTW, if you want players to use --ids, you have to turn it on in the help: !token-mod --help