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

Bump Script - Players can see Aura

So I'm using the bump script to help GM layers NPCs be controllable on the token layer through transparent aura/tokens. I set all the settings already for the colours to be transparent, but the second any of the tokens get's moved it switches back to it's default green, and all players can see it. I can't edit the green aura's visibility either because as soon as I even close the token settings the script "fixes" the settings back to being player visible. I played around with some players/friends of mine with some coding experience, and they suspect the bug is that it didn't set it's variables properly. So instead of remembering the inputted settings it's just going "Aura is green. Therefore on move, make green". Though, with Bump being a script in the roll20 library (rather than external) it's code is made invisible to us, so we can't actually dig into it to know for sure.
1591283054
The Aaron
Roll20 Production Team
API Scripter
If players can control the character the token represents, they will see the aura.&nbsp; For 1-click scripts, the source can be seen by importing the script rather than installing it.&nbsp; You can also find the source in my repo: // Github:&nbsp; &nbsp; <a href="https://github.com/shdwjk/Roll20API/blob/master/Bump/Bump.js" rel="nofollow">https://github.com/shdwjk/Roll20API/blob/master/Bump/Bump.js</a> &nbsp; or in the Roll20 repo. How are you setting the aura colors, are you using the 1-click configuration, or the in game help: !bump --help
The NPC's can't be controlled by the players, they're DM control only.&nbsp; I'm setting the aura colours through the script's page where it can be deleted, reset etc. We also tried it with the&nbsp;!bump-config command, which recalled the same settings we mentioned previously. And it does remember the transparency/is invisible to players, when the token is first placed. But once the token get's moved to another tile, it resets to default green again.&nbsp; If I try to open the token and change the aura's colour, radius, or visibility permissions manually it just resets to before the second I close the token. Even if I click "save changes".
1591284156
keithcurtis
Forum Champion
Marketplace Creator
API Scripter
Are you by any chance running another script that affects auras, such as Health Aura?
I am also using "Aura/Tint HealthColors" yes. Do those two have a conflict?
1591284570
The Aaron
Roll20 Production Team
API Scripter
Kind of.&nbsp; Bump works by creating transparent tokens that have an aura that only the controlling player (GM usually) can see.&nbsp; HealthColors makes a colored aura on tokens that represent a character which is visible by all and represents how damaged they are.&nbsp; Since the "invisible" tokens for bump represent the character, they get updated by HealthColors.&nbsp; It's possible to patch HealthColors to not do that.&nbsp; I'll see about getting that worked out with DXWarlock.
That would honestly be a absolute life saver if a patch were to be made at some point. Thank you! :)