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 results in bar showing

Hi Aaron, The Bump script currently appears to be showing the bar1 of the “invisible” token when a token is bumped to the GM layer.  I’m assuming this is due to the new token bar changes, but is there a way you can fix or work around it in the meantime?  If not, my choices appear to be not showing the bar to my players (they don’t like that :-P), and not using Bump (I don’t like that ;-)). Thanks for your help as always!  I’m posting this publicly rather than as a direct message so others might benefit.
1559157274
The Aaron
Roll20 Production Team
API Scripter
This should be only a visible problem for GMs. The bumped token has always shown the bars, it has just been hidden by the other token. What's happening now is testy he API doesn't have access to the individual token bar positions, so can't create the bumped token with the bar matching.  There isn't a way to turn off the bars on the bumped token and still retain the access on either token.  Once Roll20 exposes those settings to the API, I will fix the display issue. 
No, in this case the players saw a bar while the token was bumped, and had great fun using their arrow tools to point at it repeatedly (and told me what they saw). I know you don’t have any access to the new settings yet, but I hoped that because this was an old option that there was something I was missing or it could be fixed. The Aaron said: This should be only a visible problem for GMs. The bumped token has always shown the bars, it has just been hidden by the other token. What's happening now is testy he API doesn't have access to the individual token bar positions, so can't create the bumped token with the bar matching.  There isn't a way to turn off the bars on the bumped token and still retain the access on either token.  Once Roll20 exposes those settings to the API, I will fix the display issue. 
1559167488
The Aaron
Roll20 Production Team
API Scripter
Ah, ok.&nbsp; I thought you were having this experience: When Bump makes the invisible token, it turns off the visibility on names, bars and auras.&nbsp; What is likely happening is some other script has turned the bars on for some reason.&nbsp; The best I can do is set all those things off again each time I update the token.&nbsp; There isn't a way to detect when another API makes those changes. This should fix it, provided there isn't some other script performing an on('change',...) event to turn on the visibility:&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> Should be in the 1-click next week.
Well, frustratingly, in last night’s session I tried Bump again and it seemed to work this time (without using your changed script); the players reported no bar was showing. &nbsp;So now I don’t know what’s going on (even more than before, I mean :-P). I probably fat-fingered something about the token settings the first time, and if so I apologize for wasting your time. Thanks for the quick response as always, though! :-)
1559317330
The Aaron
Roll20 Production Team
API Scripter
No worries, I still think it's a worthwhile change. =D&nbsp; I've got some other ideas from KeithCurtis that are coming down the pipe soon. =D
Great, I look forward to it! :-)