It works beautifully. I have it set up for the players to walk through a door that leads to the dungeon level below. "The Player" can go back and forth. This is very convenient.
Super cool! I got this. At first, I had trouble moving tokens between pages. After reading comments here, I realized I was running into the issue that Ryan references: my tokens had both the player's name and my GM name in the "Can be Edited and Controlled by Section". Once I reduced it to just the players name, the elevator worked. GMs can always control tokens, and don't need to be promoted to that role on the token object anyway, so no functionality lost by removing my name from the token control fields. On thing I've noticed is that tokens moved to a new page do not "snap to grid". They drop in "kinda sorta near" the teleport token. This only became a problem when I try to use teleport tokens in "very small" (2x2) elevators with dynamic lighting. The displacement is pretty wide, with tokens appearing more than 1.5 squares away from the Teleport token -- so I just started making the elevators bigger. =)
I have a tower where the different levels are all on one map. I'm going to use this so that when they go up the stairs on one, they "teleport" to the next level. This way I won't have to have four different maps with members of the party potentially on all four of them. Very helpful.
Sad I am unable to get it to work at all.Copied and pasted the script followed all steps but it fails to work at all no clue why as I got a different teleport script to work but it would not teleport from map to map.
Just a heads up, this fails to move the players focus to the new map if multiple players control a token, but not all. ID's are 19 characters long so I just added a check for > 19 characters and moved the first one.
Sorry to bother, I know this was 3 month ago but can you post how to make this check and where to add it. I have the same problem since one of my players has a sidekick, Thanks for any help you can give me
@@padili01 Just make sure only one player can edit and control the token. Open the character sheet, click on Edit, and under "Can Be Edited & Controlled By" make sure only one player has control. If more than one player has control, I think the script can't determine which player to move to the new map. So in your case, the side kick should only be controllable by the one player. Then it should be ok.
Ive tried out this script and its very useful, thanks Nick for presenting it, but I havent been able to do multiple jumps (a, b,c, etc) within the same map despite the fact that you supposedly can have up to 12 hops. I have to create differently named sets of hops in the same map if I want to go up 3 flights of stairs, for example. Have you any suggestions?
Not that I know of. But you might be able to rename one of the tokens to break the chain, and that would prevent anyone else from using it, but it might cause errors in the script console. Good luck, and happy gaming!
It doesn't seem to work for me either. I copied the code from line 58 (after all the instructional text, where it says " var MapTeleporters = MapTeleporters || (function() { ") and it didn't throw up an error, so I assume it was good. I copied the exact titling from the code ("Teleport02A" and "Teleport02B"). When I put the character token on 2A nothing happened. Does having the Dynamic Lighting set up matter?
Works for me, both with Dynamic Lighting on and off. Make sure the player's name is the only one referenced in the "Can be Edited & Controlled By" field of the Character sheet. Try reducing complex player names to a single word with no special characters (i.e., "Bob") as a test.
Is there a way to make the teleport function tied into a token action? Example being a turbo lift in a spaceship and having the token action move between each level of the ship.
Great video, looking forward to trying it out. Do you have a video or link for how to set up the numbered token that you use in this video for the 1s and 2s? That seemed like a very useful thing to have set up somewhere.
I don't have a video dedicated to that, but you just need to roll one of the "standard" dice (d4,d6,d8,d10,d12,d20) in the chat window, and then drag the resulting number from the chat onto the board.
I can't get it to work. I've named both locations properly, but it won't transport my characters to the next map. I have their tokens on the other map on GM view as well.
A couple of things to check - are the token's names the same case? Like, one's not Alpha01A and the other is alpha02b? Also, are there any extra spaces after the token's names? And are there any errors showing up in the API console?
@@NickOlivo First off, because I didn't say it in my last post, your videos are fantastic, informative, direct, and thorough. Thank you for all of your work. Now, the names for both are ToOtherCourtyard02A and ToOtherCourtyard02B and I double-checked. Looking at the API script page it doesn't have any errors, however the output section only has the message: "Loading 705 translation strings to worker..."
For some reason when I added the script and reloaded the sandbox and the game all the files had been removed from their folders. Still there, just not in their folders anymore and everything was alphabetized. Has this happened to anyone else?
Added to another campaign and the problem did not occur again. I am curious if there is anyway to speed up the teleportation? I notice it takes a good second or 2 to activate and teleport them and most players I know would move quickly over points. Love this API! So much fun to run in a labyrinth!
Hi Nick, sorry to be a pest, but I'm having a bit of a struggle with Teleport. I have it set up on an existing campaign across quite a few maps. I'm about to move the players onto a new campaign (I'm shifting over to use the utterly incredible RPGMaster suite of API/Mod/Macros for AD&D) and copying a lot of the maps over. I breathed a sigh of relief when the Teleports on a single map worked, I'm planning to redraw a lot of the cross map transitions anyway, but the weird thing is that in the original campaign, when a token teleports, the view tracks the token and you see where it ends up. But in the "Transmogrified" version, it remains fixed on where it was before it moved, and you have to search the map to find the token. It's probably an API conflict, a missing API in the new campaign, or a setting I have not clicked, but can't think. Any ideas???
@@NickOlivo I've checked, and no. I'm not entirely sure which of the Mods in my api are ones I've uploaded, and which were pulled in by others. One of the reasons I'm moving to a new one is to clean up the system as there is a LOT of experimental stuff hanging around. I'm going to go ahead and conclude that "pingMe/pingBuddy" offer the ability to provide the feature I'm looking for, so I'll copy the campaign and have a play with them and see what happens. Thanks.
@@NickOlivo I've solved it Nick. I'm using new character sheets for the new campaign, and rather than mess about converting the existing basic ones, I decided to create new ones and manually recreate them. (I don't know if you've ever had the opportunity to check out Richard's RPGMaster API suite, but it is less of an API and more of a "Game Engine" for 2E AD&D.) Anyway, when creating the new PC Tokens, I neglected to include myself as a player on the "Edited and Controlled by" tab, because as DM I could do that without needing to check that box... As soon as I added my name to that box, it worked just fine. But thanks for the help anyway. (I'm figuring out things I can do with pingMe and pingBuddy now...
Hi Nick, thanks for the great work, i have Teleporting working now, but one of my players is a druid and i have a rollable token for his character for wildshape. The teleport does not work for the rollable tokens. Anyway this can be added? thanks.
Thanks for the video. I found it very helpful and I am implementing it in my campaign. Question-- any reason why I would only be able to send one player through the teleport? The second player doesn't seem to teleport. I can get the second player to teleport if I move the first player (gm layer) out of the way.
I've seen that sometimes it takes a little bit for the teleporter to "reset." But I'm not sure why that happens though, sorry. The folks over on this forum might be able to help - app.roll20.net/forum/category/46806
@@NickOlivo I am setting up a series of maps that the characters an move independently to explore without me (GM) being online. Problem is once the token goes to the GM layer on the map the character just left. If that player logs out and then logs back onto the Roll20 page, there is no token for him to use as it is on the GM layer now. Any ideas?
This is a great option for a building with stairs! is there any way of getting the player's screen to automatically centre on the player's new location?
@@NickOlivo I've found this: app.roll20.net/forum/post/6585464/script-find-token which allows a DM to centre their screen on a named token. I cannot get it to work when I rejoin as a player however - which is a pity as a simple button in the macro bar for players to click and 'centre on their tokens' would solve the problem :)
@@NickOlivo Looks like someone else had the same idea and managed to get the find token macro to work. app.roll20.net/forum/post/8087224/script-find-token/?pageforid=8089480#post-8089480
Hello ! How do you manage to center the view on your token after teleporting ? I mean it works for me but I have to manually change the page in order to follow the token :/.
I think I discovered a replicable problem in the code. if I move the token into the teleporter square from an orthogonal square it will teleport just fine. HOWEVER, If I move a token from a square that is diagonal to the teleporter square, the token will not teleport. Does anyone have ideas on how to fix this?
I have a similar problem, but my debugging may help illuminate this. I created more that two pads is a series. If I start the approach from orthogonal (cardinal directions) it works fine (the token is moved to the next destination). If I move it diagonally, the token moves two destinations. If I have only two, it appears not to move.
I have an idea and I was wondering if this would help solve it. I understand this is designed to teleport players around the map, and that's awesome. Here's my question though. Is it possible to have a dice roll activate when a token walks over a space, like your teleporters? My thought is to use this to activate traps as my players walk around. Specifically, I'd like to use this for a floor based puzzle trap concept. Step on the wrong spots, take the damage. So a mission impossible concept?
I think you're looking for something like the It's a Trap script - app.roll20.net/forum/post/6927186/script-its-a-trap-thread-2/?pageforid=6927192#post-6927192 This one's been on my list of scripts to tinker with, but I haven't had a chance to try it out yet.
Nick, this is awesome and I use it all the time. One issue I am having is for multiple players trying to move across maps. Teleport token is on square, first player steps on it and is transferred to map2 and their token on map1 is moved to GM layer. But when player2 steps on teleport token on map1, nothing happens. If the GM moves player1 token (on GM layer) out of the way, then player2 can step on and it works, and now player2 token is on the GM layer, but player3 can't teleport, etc.. I have tried moving teleport token on GM layer to front but that did not work, so it is not a layer issue. I think it is a problem with the script unable to mover player2 token to GM layer because there is already a player token on GM layer in the same square. It won't stack them. Any ideas besides making the GM 'clear the transporter pad'?
Try setting the token on the gm layer and right clicking and sending "to back". When this happens each token transferred while drop behind the original GM layer token and not cover the teleporter token. It seems to be working for me anyway.
Hi Nick, First Thanks you for all your videos they have help me a lot. On this specific API the token are set to be controlled by more than one player. there is a post on this video by Es Plodies that he found a solution to this but I can not understand how to do it can you check this and explain me if you can how to do this. This is his post "Just a heads up, this fails to move the players focus to the new map if multiple players control a token, but not all. ID's are 19 characters long so I just added a check for > 19 characters and moved the first one."
You're the real life wizard for roll20! Love all your videos!
It works beautifully. I have it set up for the players to walk through a door that leads to the dungeon level below. "The Player" can go back and forth. This is very convenient.
Super cool! I got this. At first, I had trouble moving tokens between pages. After reading comments here, I realized I was running into the issue that Ryan references: my tokens had both the player's name and my GM name in the "Can be Edited and Controlled by Section". Once I reduced it to just the players name, the elevator worked. GMs can always control tokens, and don't need to be promoted to that role on the token object anyway, so no functionality lost by removing my name from the token control fields.
On thing I've noticed is that tokens moved to a new page do not "snap to grid". They drop in "kinda sorta near" the teleport token. This only became a problem when I try to use teleport tokens in "very small" (2x2) elevators with dynamic lighting. The displacement is pretty wide, with tokens appearing more than 1.5 squares away from the Teleport token -- so I just started making the elevators bigger. =)
Script works! Made my and my party's life much better. With this script multi-level buildings & dungeons are so much easier to handle!
Your video is perfect for my new campaign. Thank you so very much for doing these videos.
I love this guys videos. So helpful!
I have a tower where the different levels are all on one map. I'm going to use this so that when they go up the stairs on one, they "teleport" to the next level. This way I won't have to have four different maps with members of the party potentially on all four of them. Very helpful.
That's a great use for this script. Happy gaming!
Sad I am unable to get it to work at all.Copied and pasted the script followed all steps but it fails to work at all no clue why as I got a different teleport script to work but it would not teleport from map to map.
Still to this day it will not work
@@vampiregoat69 My problem was I had my name and the players name in the, "In players journal" & "Can Be Edited Controlled By" sections.
Just a heads up, this fails to move the players focus to the new map if multiple players control a token, but not all. ID's are 19 characters long so I just added a check for > 19 characters and moved the first one.
Sorry to bother, I know this was 3 month ago but can you post how to make this check and where to add it. I have the same problem since one of my players has a sidekick, Thanks for any help you can give me
@@padili01 Just make sure only one player can edit and control the token. Open the character sheet, click on Edit, and under "Can Be Edited & Controlled By" make sure only one player has control. If more than one player has control, I think the script can't determine which player to move to the new map. So in your case, the side kick should only be controllable by the one player. Then it should be ok.
Some times this works and sometimes it doesn't. I have checked over and over again, but no idea why it won't work.
I have found that if you move around to quickly you end up moving off the square before the script has time to execute.
Edit: I am big dumb, you are great. Subscribed.
The one way teleporter would work wonders for an encounter with something that can eat players whole.
I used this today for the first time, works great. Thanks Nick!
Awesome! Glad you found it helpful, Steven.
Ive tried out this script and its very useful, thanks Nick for presenting it, but I havent been able to do multiple jumps (a, b,c, etc) within the same map despite the fact that you supposedly can have up to 12 hops. I have to create differently named sets of hops in the same map if I want to go up 3 flights of stairs, for example. Have you any suggestions?
Hi Claudia - are you getting any errors in the API console?
Nick, is there a way to make it a 1 use teleportal? The first player that steps on it triggers it, but then the teleporter disappears?
Not that I know of. But you might be able to rename one of the tokens to break the chain, and that would prevent anyone else from using it, but it might cause errors in the script console. Good luck, and happy gaming!
Is there a way to do a keystone where if they click a button it teleports the player? Like the arch from tomb of horrors?
That is sooo cool!
It doesn't seem to work for me either. I copied the code from line 58 (after all the instructional text, where it says " var MapTeleporters = MapTeleporters || (function() { ") and it didn't throw up an error, so I assume it was good. I copied the exact titling from the code ("Teleport02A" and "Teleport02B"). When I put the character token on 2A nothing happened. Does having the Dynamic Lighting set up matter?
Works for me, both with Dynamic Lighting on and off. Make sure the player's name is the only one referenced in the "Can be Edited & Controlled By" field of the Character sheet. Try reducing complex player names to a single word with no special characters (i.e., "Bob") as a test.
Is there a way to make the teleport function tied into a token action? Example being a turbo lift in a spaceship and having the token action move between each level of the ship.
Not that I'm aware of, but the teleportation effect would trigger once the character stepped into the Turbolift.
Great video, looking forward to trying it out.
Do you have a video or link for how to set up the numbered token that you use in this video for the 1s and 2s? That seemed like a very useful thing to have set up somewhere.
I don't have a video dedicated to that, but you just need to roll one of the "standard" dice (d4,d6,d8,d10,d12,d20) in the chat window, and then drag the resulting number from the chat onto the board.
@@NickOlivo I've got the teleport to work (great explanation as always) but I can't get a number token either. Tried in Firefox and Chrome.
Found the issue - need to have "Enable advanced dice (dice icons, drag and drop, etc.)" selected in the My Settings Tab
This is awesome! I keep facing a problem tho. The teleport only works once every ten times! How can I fix it? It's making me mad
For the teleport marker, why use the Token layer and not the map layer?
That would probably work too. I just didn't think to put them there.
I can't get it to work. I've named both locations properly, but it won't transport my characters to the next map. I have their tokens on the other map on GM view as well.
A couple of things to check - are the token's names the same case? Like, one's not Alpha01A and the other is alpha02b? Also, are there any extra spaces after the token's names? And are there any errors showing up in the API console?
@@NickOlivo First off, because I didn't say it in my last post, your videos are fantastic, informative, direct, and thorough. Thank you for all of your work.
Now, the names for both are ToOtherCourtyard02A and ToOtherCourtyard02B and I double-checked. Looking at the API script page it doesn't have any errors, however the output section only has the message: "Loading 705 translation strings to worker..."
@@CaseyVHunter I'm having the same issue on top of it taking an extraordinary amount of time to load. Frustrated for sure.
@@infinidstudios Thanks for the reply. Glad I'm not alone.
Seems to have stopped working for some reason. Won't work for me either. No errors on the API. it doesn't seem to be loading on the API actually.
For some reason when I added the script and reloaded the sandbox and the game all the files had been removed from their folders. Still there, just not in their folders anymore and everything was alphabetized. Has this happened to anyone else?
Added to another campaign and the problem did not occur again. I am curious if there is anyway to speed up the teleportation? I notice it takes a good second or 2 to activate and teleport them and most players I know would move quickly over points.
Love this API! So much fun to run in a labyrinth!
Hi Nick,
sorry to be a pest, but I'm having a bit of a struggle with Teleport.
I have it set up on an existing campaign across quite a few maps.
I'm about to move the players onto a new campaign (I'm shifting over to use the utterly incredible RPGMaster suite of API/Mod/Macros for AD&D) and copying a lot of the maps over.
I breathed a sigh of relief when the Teleports on a single map worked, I'm planning to redraw a lot of the cross map transitions anyway, but the weird thing is that in the original campaign, when a token teleports, the view tracks the token and you see where it ends up.
But in the "Transmogrified" version, it remains fixed on where it was before it moved, and you have to search the map to find the token.
It's probably an API conflict, a missing API in the new campaign, or a setting I have not clicked, but can't think.
Any ideas???
Hi Andrew - does your original campaign include the pingMe or pingBuddy scripts?
@@NickOlivo I've checked, and no. I'm not entirely sure which of the Mods in my api are ones I've uploaded, and which were pulled in by others. One of the reasons I'm moving to a new one is to clean up the system as there is a LOT of experimental stuff hanging around.
I'm going to go ahead and conclude that "pingMe/pingBuddy" offer the ability to provide the feature I'm looking for, so I'll copy the campaign and have a play with them and see what happens.
Thanks.
@@NickOlivo I've solved it Nick. I'm using new character sheets for the new campaign, and rather than mess about converting the existing basic ones, I decided to create new ones and manually recreate them.
(I don't know if you've ever had the opportunity to check out Richard's RPGMaster API suite, but it is less of an API and more of a "Game Engine" for 2E AD&D.)
Anyway, when creating the new PC Tokens, I neglected to include myself as a player on the "Edited and Controlled by" tab, because as DM I could do that without needing to check that box...
As soon as I added my name to that box, it worked just fine.
But thanks for the help anyway. (I'm figuring out things I can do with pingMe and pingBuddy now...
Hi Nick, thanks for the great work, i have Teleporting working now, but one of my players is a druid and i have a rollable token for his character for wildshape. The teleport does not work for the rollable tokens. Anyway this can be added? thanks.
Hmm, not sure about that one. Your best bet there would be to post over on the API forums app.roll20.net/forum/category/46806
Is there a way to teleport random within a range of your current location?
Hi Michael - not that I'm aware of, sorry. This script requires the start and destination points be defined.
Hello ! I'm a bit confused because the token is teleporting but the camera doesn't follow it.
Anyone know how to fix it ?
maybe use your player view (ctrl+L) on that token and try it again
Thanks for the video. I found it very helpful and I am implementing it in my campaign. Question-- any reason why I would only be able to send one player through the teleport? The second player doesn't seem to teleport. I can get the second player to teleport if I move the first player (gm layer) out of the way.
I've seen that sometimes it takes a little bit for the teleporter to "reset." But I'm not sure why that happens though, sorry. The folks over on this forum might be able to help - app.roll20.net/forum/category/46806
@@NickOlivo I am setting up a series of maps that the characters an move independently to explore without me (GM) being online. Problem is once the token goes to the GM layer on the map the character just left. If that player logs out and then logs back onto the Roll20 page, there is no token for him to use as it is on the GM layer now. Any ideas?
its not working, i went through whole video instal script name 2 teleports the same but with a and b at the end and its not working :/
Are you getting any errors in the API console?
@@NickOlivo im just an idiot :P
After 10 min i solved the problem. Its even mentioned in manual that players ribbon have to be on same view as tp.
I am not able to pull the number from the chat tab as in the video to create a token, is there something i am missing?
You need to roll one of the "standard" dice (d4, d6,d8,d12,d20) and then drag the part of the roll that has the dice picture behind it onto the map.
I had the same problem, found out I'd had to activate the function: Enable advanced dice (dice icons, drag and drop, etc.) in the tab "My Settings"
This is a great option for a building with stairs! is there any way of getting the player's screen to automatically centre on the player's new location?
Glad you liked it! I'm not aware of a way to automatically center the player's location, though, sorry.
@@NickOlivo No problems and thanks for replying. I'll keep an eye out on the forums for ping-pull ideas :)
Cool, please let me know if you find anything.
@@NickOlivo I've found this: app.roll20.net/forum/post/6585464/script-find-token which allows a DM to centre their screen on a named token. I cannot get it to work when I rejoin as a player however - which is a pity as a simple button in the macro bar for players to click and 'centre on their tokens' would solve the problem :)
@@NickOlivo Looks like someone else had the same idea and managed to get the find token macro to work. app.roll20.net/forum/post/8087224/script-find-token/?pageforid=8089480#post-8089480
Excellent! Only one critique: text needs to be bigger for us old folks!
Hello ! How do you manage to center the view on your token after teleporting ? I mean it works for me but I have to manually change the page in order to follow the token :/.
@@MrToandry I haven’t gotten that far yet but Nick does have a video on how to centre the map on a player’s token.
@@markgagnon7795 Figured it out ! I missed the fact that the player needs to control only one character.
Anyway thanks for the reply :).
I think I discovered a replicable problem in the code. if I move the token into the teleporter square from an orthogonal square it will teleport just fine.
HOWEVER, If I move a token from a square that is diagonal to the teleporter square, the token will not teleport. Does anyone have ideas on how to fix this?
In the video, Nick demonstrates it working several times while moving diagonally.
I have a similar problem, but my debugging may help illuminate this. I created more that two pads is a series. If I start the approach from orthogonal (cardinal directions) it works fine (the token is moved to the next destination). If I move it diagonally, the token moves two destinations. If I have only two, it appears not to move.
Well that's amazing!
I have an idea and I was wondering if this would help solve it.
I understand this is designed to teleport players around the map, and that's awesome. Here's my question though.
Is it possible to have a dice roll activate when a token walks over a space, like your teleporters?
My thought is to use this to activate traps as my players walk around. Specifically, I'd like to use this for a floor based puzzle trap concept. Step on the wrong spots, take the damage. So a mission impossible concept?
I think you're looking for something like the It's a Trap script - app.roll20.net/forum/post/6927186/script-its-a-trap-thread-2/?pageforid=6927192#post-6927192 This one's been on my list of scripts to tinker with, but I haven't had a chance to try it out yet.
@@NickOlivo I'll check it out. Thanks :)
Awesome! Thanks!)
Nick, this is awesome and I use it all the time. One issue I am having is for multiple players trying to move across maps. Teleport token is on square, first player steps on it and is transferred to map2 and their token on map1 is moved to GM layer. But when player2 steps on teleport token on map1, nothing happens. If the GM moves player1 token (on GM layer) out of the way, then player2 can step on and it works, and now player2 token is on the GM layer, but player3 can't teleport, etc.. I have tried moving teleport token on GM layer to front but that did not work, so it is not a layer issue. I think it is a problem with the script unable to mover player2 token to GM layer because there is already a player token on GM layer in the same square. It won't stack them. Any ideas besides making the GM 'clear the transporter pad'?
Try setting the token on the gm layer and right clicking and sending "to back". When this happens each token transferred while drop behind the original GM layer token and not cover the teleporter token. It seems to be working for me anyway.
Hi Nick, First Thanks you for all your videos they have help me a lot. On this specific API the token are set to be controlled by more than one player. there is a post on this video by Es Plodies that he found a solution to this but I can not understand how to do it can you check this and explain me if you can how to do this. This is his post "Just a heads up, this fails to move the players focus to the new map if multiple players control a token, but not all. ID's are 19 characters long so I just added a check for > 19 characters and moved the first one."
While the script seems to work beautifully, the link to the icon does not!
Bummer, looks like the site is down. I've updated the description to reflect that. Thanks for the heads up.