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

[Help] Aura/Tint HealthColor

Hey Roll20 Community! I have a question for you fine API folks. I've stumbled into a bit of a hiccup in the Aura/Tint Health Colour script. While the auras seem to show and work beautifully for half of the tokens, there is a significant chunk of tokens that it isn't working for at all. I've tried some extremely basic "Did you try turning it on and off again?" debugging and reassigning/uploading tokens to no avail.  Does anyone have any handy troubleshooting advise for this?? I appreciate any help or feedback you might have. <3
1502203937
The Aaron
Pro
API Scripter
Do the tokens for which it does not work have a max value in the bar where it's configured to look for health?
Yes sir, each of the tokens in question has max hp entered and displays the corresponding health bar above likewise. Which is why I am mystified by the aura that refuses to display. I've managed to troubleshoot a couple of the tokens and force a sort of "refresh" on their data successfully - but there are these select stubborn few that are rolling against the grain on me. 
1502205300
The Aaron
Pro
API Scripter
Can you screenshot the token settings (first tab) on one that works and one that doesn't?
Oh gosh, I think I may have fixed it. I might not have to post a screenshot after all! Alright, so this is where it went wrong for me. In the process of assigning tokens, a couple of them weren't associating properly with their corresponding character sheet for some reason when the token was dragged from the character sheet onto the map?? So basically, I had to fix that manually by fixing that association under "Represents Character" on the specified token settings.  Thank you for your attention to the problem Aaron! My apologies if it was a waste of your time. :( 
1502208947
The Aaron
Pro
API Scripter
No worries, glad you got it sorted out!  Probably you added the default token to the character before setting the represents.  Dragging it out of the journal then got the pre-represents copy.  If you have a bunch like that, there's a TokenMod command that can help speed up fixing it: !token-mod {{ --set represents|?{Represent which character} defaulttoken }} or if you have a bunch with the represents already set, you can just do: !token-mod --set defaulttoken Cheers and Happy Rolling!
Yep! I think that was certainly the issue. That is an incredibly  handy command, thank you immensely! <3
1502210694
The Aaron
Pro
API Scripter
=D  No problem! =D