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

Can Token Mod toggle Public, To GM, Advantage, Normal and Disadvantage

I've gotten a good number of macros written that are minimizing my need to open NPC character sheets. However, there's still this time I really have to. That's when it comes to toggling on and off the Whisper GM option, and changing the setting for Advantage, Disadvantage and Normal Rolls. All of my macros support these options already, but they depend on the setting being defined in the sheet.
1511754390

Edited 1511758906
vÍnce
Pro
Sheet Author
AFIK, I don't think token mod can do this (unless the attribute is linked to one of the three status bars...) It handles ALL things dealing with a token's settings.&nbsp; The&nbsp; chatsetattr&nbsp; script or depending on the sheet, one of the companion scripts written for pathfinder or the 5e sheets.&nbsp; I believe this came up in another thread recently as well ( <a href="https://app.roll20.net/forum/post/5794485/advantage-slash-disadvantage-toggle-for-macro-bar" rel="nofollow">https://app.roll20.net/forum/post/5794485/advantage-slash-disadvantage-toggle-for-macro-bar</a> )
ChatSetAttr* just in case you decide to use the API, I usually wouldn't call up a typo but I felt like this one may be more important than usual haha
1511758851
vÍnce
Pro
Sheet Author
Kyle said: ChatSetAttr* just in case you decide to use the API, I usually wouldn't call up a typo but I felt like this one may be more important than usual haha Thanks Kyle.&nbsp; ;-P
1511798491
keithcurtis
Forum Champion
Marketplace Creator
API Scripter
Jeremy, what sheet are you using? If it is the Shaped sheet for 5e, then there are macros baked into the companion script that will handle this for you. I have them as universal token actions in my game, labeled "+", "-" and "0", so that they appear at the far left for everyone and don't take up much screen real estate. If this is the case, then you can also add a token-mod command to give advantaged characters a green dot, and disadvantaged ones a red dot. Just in case this is so, here is the relevant code. If not, you can scavenge the token-mod commands for whatever solution you come up with: !shaped-at --advantage !token-mod --set statusmarkers|=dead|-dead !token-mod --set statusmarkers|green !shaped-at --disadvantage !token-mod --set statusmarkers|=dead|-dead !token-mod --set statusmarkers|red !shaped-at --normal !token-mod --set statusmarkers|=dead|-dead
1511799925

Edited 1511799975
I am using the OGL character sheet, as I'm running the purchased Storm King's Thunder. It's not a big deal. I can change the output to query for the results as opposed to using the toggle on the sheet. I don't know how often I'll be utilizing this anyway. For the most part, I don't have a huge variety of mooks on the board at once, and often just have the different NPC sheets open on a seperate monitor. This was more so me tinkering with different macros and things on Roll20 last night as our game was canceled due to a couple of players being unavailable.