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

[Script, Update] Bump -- Now with support for players: allowing your dastardly rogue to hide from his party and your invisible warlock to surprise her companions!

1546233669

Edited 1588290427
The Aaron
Pro
API Scripter
Bump Update v0.2.18 &nbsp;-- Added auto unslave and no bars to the configuration. Added Help: Bump handout. (Thanks&nbsp; Tod L. , &nbsp; Carl H. ) Turning on Auto Unslave in the configuration will cause the slave token (often seen as a green aura) to be removed when you make a token visible by putting it on the TokenLayer.&nbsp; When paired with Auto Slave, this lets you stay pretty much only on the Token Layer and still control all your things. Turning on No Bars on Slave in the configuration will cause the Slave token to only mirror the current value in each bar, excluding the max value and not linking to the attribute.&nbsp; This lets you still adjust the values, but doesn't give you double bars, which is especially nice if you're using an alternate bar position/configuration (which the API currently has no access to). There is now a Help: Bump handout created and maintained with the current help for the script.&nbsp; (see latest TokenMod update for details on how that works). Update v0.2.17 &nbsp;-- Added the ability unslave tokens with the !bump-unslave command. (Thanks GenKitty!) Update v0.2.16 &nbsp;-- Will now force visibility of bars and auras off for players on each change to a token (master or slave). (Thanks&nbsp; Joe !) Update v0.2.14 -- Fixed bug where names get turned on for slave tokens always.&nbsp; Now the slave token does not get a name if it's a GM only token, and only gets a name for player tokens if the master player token has its name turned on. (Thanks&nbsp; Jay R. !) Update v0.2.13 -- Added support for players to Bump their tokens and see the invisible colored square to move around the map.&nbsp; Bumped player tokens won't be visible to players that can't control them (unless that rogue left his torch burning!).&nbsp; Additionally, you can not set Status Markers on the slave token for a bumped token.&nbsp; Setting a status that is on the master token will remove it, setting one that isn't will add it, and setting a status with a number will add that number to the status on the master.&nbsp; Status Markers are then cleared from the slave to preserve their invisibility. (Thanks&nbsp; Refugee !) Update v0.2.12 &nbsp;-- Fixed issue that prevented Bump from starting up.&nbsp; Update v0.2.7 &nbsp;-- Reverted a change to push the left margin of help into the space under chat avatars. &nbsp;Disabling chat avatars was truncating the help display down the left side. &nbsp;Also removed an unnecessary warning about !bump'ing a token that didn't have a slave. (Thanks&nbsp; Three of Swords !) Update v0.2.6&nbsp; -- Bump will now automatically repair and cleanup any broken associations with master and slave tokens on startup. &nbsp;Additionally, I have cleaned up a few crash bugs with missing objects. &nbsp;Finally, the help and configuration UI is updated and more thoroughly documented. Features Slave Token Aura &nbsp;-- The created Slave Token is invisible to the players, but also serves a useful purpose of reminding you which tokens support Bump and where they are. Created slave tokens have an aura visible to the GM only. They have one color when Master Token is visible to players (defaults to green) and another when the Master Token is invisible to players (defaults to purple). Mirrored Operations &nbsp;-- Moving, Rotating, Scaling, Flipping, Renaming, Tinting, and Last Move are all mirrored between Master and Slave! Mirrored Bubbles &nbsp;-- Whatever you have the Master Bars set to, the Slave Bars mirror. Change one, it changes the other. Got some invisible monsters in an AoE? No problem. This includes Bars that are linked to a character sheet, which brings me to... Mirrored Represents &nbsp;-- Need to do a save or make a skill check? Slave Tokens have the same Represents as their Master, so they have the same Token Action bar and shift double clicking brings up the character sheet! Commands: !bump &nbsp;-- Swaps places between a token and it's counterpart if it has been added to Bump. &nbsp;If&nbsp; Auto Slave &nbsp;is on, it will add the token to Bump if it isn't already in it. &nbsp;If&nbsp; Auto Push &nbsp;is on, it will also push it to the GM Layer if it is on the Objects layer. !bump-slave &nbsp;-- Puts the selected token in Bump if it isn't there already. &nbsp;If&nbsp; Auto Push &nbsp;is on, it will also move the token to the GM Layer if it is on the Objects layer. --push &nbsp;-- The optional --push argument to !bump-slave causes the token to also be pushed to the GM Layer as if&nbsp; Auto Push &nbsp;was on. Configuration Settings: GM Layer (Visible) Color &nbsp;-- Sets the color that a slave token shows when the associated master token is visible to players. The slave token will be on the GM Layer and the master token will be visible to players on the Objects Layer. &nbsp;Click the button showing the color to be prompted to enter a new color in HTML color format. &nbsp;Show's a checkerboard for transparent. Objects Layer (Invisible) Color &nbsp;-- Sets the color that a slave token shows when the associated master token is invisible to players. The slave token will be on the Objects Layer and the master token will be hidden from players on the GM Layer. Click the button showing the color to be prompted to enter a new color in HTML color format. Show's a checkerboard for transparent. Auto Push &nbsp;-- Causes adding a token to Bump to also automatically push it to the GM Layer if it isn't already there. [Default: Off] Auto Slave &nbsp;-- Causes using the !bump command on a token that isn't in Bump to add that token to Bump. &nbsp; Auto Push &nbsp;applies to this addition. &nbsp;[Default: Off] Previous Release Notes:&nbsp; <a href="https://app.roll20.net/forum/post/2956622/script-bump-updated-to-v0-dot-2-7" rel="nofollow">https://app.roll20.net/forum/post/2956622/script-bump-updated-to-v0-dot-2-7</a> Git:&nbsp; <a href="https://github.com/shdwjk/Roll20API/blob/master/Bu" rel="nofollow">https://github.com/shdwjk/Roll20API/blob/master/Bu</a>... Support my work on If you use my scripts, want to contribute,&nbsp; and have the spare bucks to do so , go right ahead. However, please don't feel like you must contribute just to use them! I'd much rather have happy Roll20 users armed with my scripts than people not using them out of some sense of shame. Use them and be happy, completely guilt-free! Disclaimer:&nbsp; This Patreon campaign is not affiliated with Roll20; as such, contributions are voluntary and Roll20 cannot provide support or refunds for contributions.
1546990092
The Aaron
Pro
API Scripter
This update is now live in the One-Click Install!
First off, thanks a lot for making this script!&nbsp; It's really helped the flow of my game, being able to manipulate tokens on both layers at once.&nbsp; I've been using it for almost a year now, and I couldn't imagine running a game without it. I don't know if this is related to your latest update, but when I bumpslave a token that has it's nameplate turned off, the slave token has the nameplate turned on.&nbsp; This is happening with all of my tokens, even the ones that have the nameplate off by default.
1548006269
The Aaron
Roll20 Production Team
API Scripter
Ah, it likely is because of the changes. They shouldn’t be visible to players still, but I’ll take a look and see what’s going on. I think I was trying to have the name visible to the player when they bump their token. Worst case, I’ll be sure it respects the existing setting when it isn’t a player doing it. Do your monster tokens or characters have anything in the controlled by setting?
The tokens I was prepping today were all monster tokens with nothing in the "controlled by" field.
1548611208
The Aaron
Roll20 Production Team
API Scripter
Update v0.2.14&nbsp; -- Fixed bug where names get turned on for slave tokens always.&nbsp; Now the slave token does not get a name if it's a GM only token, and only gets a name for player tokens if the master player token has its name turned on. (Thanks&nbsp; Jay R. !)
You're welcome!&nbsp; And thank you &nbsp;for providing such a useful tool. I can confirm for you that the issue I was seeing has gone away.
1548911856
The Aaron
Roll20 Production Team
API Scripter
Awesome sauce! =D
Do all players see the same thing or is there a way to make most see all the tokens on object layer but one player who has truesight only sees the real monster and not the illusions?
1549406337
The Aaron
Roll20 Production Team
API Scripter
There isn’t a way to make a token visible to only certain players. The best you can do is make a highlight that only some players can see. That’s how the player side of Bump works.&nbsp;
Is there a way to get a Bump token action on all my tokens?
1549907417

Edited 1549927191
The Aaron
Roll20 Production Team
API Scripter
Yes, create a Macro with the command you want and then check the Token Action box. It will show up with the other token actions when you select a token.&nbsp; One thing to be aware of, I don’t think it will show up if you have multiple tokens selected. For that reason, I might suggest having it on the macro toolbar instead. Many ways to skin that cat, of course.&nbsp;
Yes, of course. I knew that... :)
Hi Aaron, I just started using this script and it’s really great! &nbsp;So thank you for sharing it. :-) Quick set of related questions: what if I delete one of the linked tokens because I am no longer using it? Does that leave an invisible (or not) token hanging out on the tabletop? &nbsp;Does it leave clutter in the tabletop scripting memory banks? Is there some other way I should handle bumped tokens I no longer need?
1550065579
The Aaron
Roll20 Production Team
API Scripter
If you delete either the invisible token or the bumped token, it will detect it and clean up the internal association. It does it immediately if it’s running, and on the next script startup if it isn’t. &nbsp;If an invisible token’s master token is missing at either of those points, it delete it also.&nbsp;