Teleporting Across Maps in Roll20

  Рет қаралды 13,586

Nick Olivo

Nick Olivo

Күн бұрын

This video shows how to use Roll20's API to create teleportation tokens that allow players to teleport between locations on a map, or from one map to another. Note that this does require a Pro subscription
Resources:
The API script - gist.github.com/finalfrog/124...
The Portal icon used to be at www.fourjay.org/myphoto/f/4/4..., but it looks like that site is now down.
The teleportation pad can be found by clicking on the images panel in Roll20, then search for the word rune. The icon can be found in the "From the Web" section.
My Patreon: / nickolivo

Пікірлер: 96
@nickdhammer
@nickdhammer 4 жыл бұрын
You're the real life wizard for roll20! Love all your videos!
@tnickward
@tnickward 4 жыл бұрын
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.
@Vet1Michael
@Vet1Michael 3 жыл бұрын
Your video is perfect for my new campaign. Thank you so very much for doing these videos.
@samely8526
@samely8526 4 жыл бұрын
I love this guys videos. So helpful!
@Senki99
@Senki99 3 жыл бұрын
Script works! Made my and my party's life much better. With this script multi-level buildings & dungeons are so much easier to handle!
@JPSeabury
@JPSeabury 3 жыл бұрын
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. =)
@ryanbritt3008
@ryanbritt3008 Жыл бұрын
That is sooo cool!
@wyattmay4456
@wyattmay4456 4 жыл бұрын
Edit: I am big dumb, you are great. Subscribed.
@wisewizard3130
@wisewizard3130 4 жыл бұрын
Awesome! Thanks!)
@stevenlathrop7884
@stevenlathrop7884 4 жыл бұрын
I used this today for the first time, works great. Thanks Nick!
@NickOlivo
@NickOlivo 4 жыл бұрын
Awesome! Glad you found it helpful, Steven.
@geoffschmidt1944
@geoffschmidt1944 4 жыл бұрын
Well that's amazing!
@AAAndrew
@AAAndrew 2 жыл бұрын
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.
@NickOlivo
@NickOlivo 2 жыл бұрын
That's a great use for this script. Happy gaming!
@MyAramil
@MyAramil Жыл бұрын
The one way teleporter would work wonders for an encounter with something that can eat players whole.
@Jbcblack
@Jbcblack 4 жыл бұрын
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?
@agitadora60
@agitadora60 2 жыл бұрын
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?
@NickOlivo
@NickOlivo 2 жыл бұрын
Hi Claudia - are you getting any errors in the API console?
@vampiregoat69
@vampiregoat69 4 жыл бұрын
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.
@vampiregoat69
@vampiregoat69 3 жыл бұрын
Still to this day it will not work
@Ryan-gl8ez
@Ryan-gl8ez 3 жыл бұрын
@@vampiregoat69 My problem was I had my name and the players name in the, "In players journal" & "Can Be Edited Controlled By" sections.
@skyraptor62
@skyraptor62 4 жыл бұрын
Some times this works and sometimes it doesn't. I have checked over and over again, but no idea why it won't work.
@echmyr
@echmyr 3 жыл бұрын
I have found that if you move around to quickly you end up moving off the square before the script has time to execute.
@mikek8645
@mikek8645 4 жыл бұрын
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.
@NickOlivo
@NickOlivo 4 жыл бұрын
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
@mjredder
@mjredder 4 жыл бұрын
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.
@NickOlivo
@NickOlivo 4 жыл бұрын
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.
@DrogoMistweave
@DrogoMistweave 3 жыл бұрын
@@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.
@DrogoMistweave
@DrogoMistweave 3 жыл бұрын
Found the issue - need to have "Enable advanced dice (dice icons, drag and drop, etc.)" selected in the My Settings Tab
@derekishmael4034
@derekishmael4034 4 жыл бұрын
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.
@NickOlivo
@NickOlivo 4 жыл бұрын
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
@technobable7479
@technobable7479 4 жыл бұрын
@@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?
@giovannirocket9954
@giovannirocket9954 4 жыл бұрын
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.
@NickOlivo
@NickOlivo 4 жыл бұрын
Not that I'm aware of, but the teleportation effect would trigger once the character stepped into the Turbolift.
@markgagnon7795
@markgagnon7795 3 жыл бұрын
Excellent! Only one critique: text needs to be bigger for us old folks!
@MrToandry
@MrToandry 3 жыл бұрын
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 :/.
@markgagnon7795
@markgagnon7795 3 жыл бұрын
@@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.
@MrToandry
@MrToandry 3 жыл бұрын
@@markgagnon7795 Figured it out ! I missed the fact that the player needs to control only one character. Anyway thanks for the reply :).
@esplodies4069
@esplodies4069 3 жыл бұрын
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.
@padili01
@padili01 3 жыл бұрын
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
@echmyr
@echmyr 3 жыл бұрын
@@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.
@joshuaradford2566
@joshuaradford2566 4 жыл бұрын
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?
@NickOlivo
@NickOlivo 4 жыл бұрын
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.
@joshuaradford2566
@joshuaradford2566 4 жыл бұрын
@@NickOlivo I'll check it out. Thanks :)
@dafuse1158
@dafuse1158 3 жыл бұрын
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
@wildbilbo237
@wildbilbo237 4 жыл бұрын
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
@NickOlivo 4 жыл бұрын
Glad you liked it! I'm not aware of a way to automatically center the player's location, though, sorry.
@wildbilbo237
@wildbilbo237 4 жыл бұрын
@@NickOlivo No problems and thanks for replying. I'll keep an eye out on the forums for ping-pull ideas :)
@NickOlivo
@NickOlivo 4 жыл бұрын
Cool, please let me know if you find anything.
@wildbilbo237
@wildbilbo237 4 жыл бұрын
@@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 :)
@wildbilbo237
@wildbilbo237 4 жыл бұрын
@@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
@gorgonstreasure
@gorgonstreasure 3 жыл бұрын
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'?
@jamescaron465
@jamescaron465 3 жыл бұрын
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.
@thomashargreaves4786
@thomashargreaves4786 4 жыл бұрын
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?
@thomashargreaves4786
@thomashargreaves4786 4 жыл бұрын
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!
@padili01
@padili01 3 жыл бұрын
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."
@phalkenjr
@phalkenjr 2 жыл бұрын
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?
@NickOlivo
@NickOlivo 2 жыл бұрын
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!
@randalthor6670
@randalthor6670 3 жыл бұрын
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?
@JPSeabury
@JPSeabury 3 жыл бұрын
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.
@akiriwas
@akiriwas 3 жыл бұрын
For the teleport marker, why use the Token layer and not the map layer?
@NickOlivo
@NickOlivo 3 жыл бұрын
That would probably work too. I just didn't think to put them there.
@michaeldawson6791
@michaeldawson6791 2 жыл бұрын
Is there a way to teleport random within a range of your current location?
@NickOlivo
@NickOlivo 2 жыл бұрын
Hi Michael - not that I'm aware of, sorry. This script requires the start and destination points be defined.
@MrToandry
@MrToandry 3 жыл бұрын
Hello ! I'm a bit confused because the token is teleporting but the camera doesn't follow it. Anyone know how to fix it ?
@felixu8682
@felixu8682 3 жыл бұрын
maybe use your player view (ctrl+L) on that token and try it again
@andrewtomlinson5237
@andrewtomlinson5237 Жыл бұрын
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
@NickOlivo Жыл бұрын
Hi Andrew - does your original campaign include the pingMe or pingBuddy scripts?
@andrewtomlinson5237
@andrewtomlinson5237 Жыл бұрын
@@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.
@andrewtomlinson5237
@andrewtomlinson5237 Жыл бұрын
@@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...
@mikek8645
@mikek8645 4 жыл бұрын
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?
@NickOlivo
@NickOlivo 4 жыл бұрын
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.
@RozzerFilm
@RozzerFilm 4 жыл бұрын
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"
@CaseyVHunter
@CaseyVHunter 4 жыл бұрын
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.
@NickOlivo
@NickOlivo 4 жыл бұрын
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?
@CaseyVHunter
@CaseyVHunter 4 жыл бұрын
@@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..."
@infinidstudios
@infinidstudios 4 жыл бұрын
@@CaseyVHunter I'm having the same issue on top of it taking an extraordinary amount of time to load. Frustrated for sure.
@CaseyVHunter
@CaseyVHunter 4 жыл бұрын
@@infinidstudios Thanks for the reply. Glad I'm not alone.
@AdamHennebeck
@AdamHennebeck 4 жыл бұрын
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.
@alanlee1088
@alanlee1088 3 жыл бұрын
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?
@JPSeabury
@JPSeabury 3 жыл бұрын
In the video, Nick demonstrates it working several times while moving diagonally.
@ronmoeller5350
@ronmoeller5350 Ай бұрын
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.
@danielpiwek1846
@danielpiwek1846 3 жыл бұрын
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 :/
@NickOlivo
@NickOlivo 3 жыл бұрын
Are you getting any errors in the API console?
@danielpiwek1846
@danielpiwek1846 3 жыл бұрын
@@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.
@silbeg
@silbeg 3 жыл бұрын
While the script seems to work beautifully, the link to the icon does not!
@NickOlivo
@NickOlivo 3 жыл бұрын
Bummer, looks like the site is down. I've updated the description to reflect that. Thanks for the heads up.
Creating Token Actions & Dashboard Tokens
8:44
Nick Olivo
Рет қаралды 18 М.
Making Souped Up Macros with the PowerCards API
33:22
Nick Olivo
Рет қаралды 16 М.
Я нашел кто меня пранкует!
00:51
Аришнев
Рет қаралды 4,5 МЛН
A clash of kindness and indifference #shorts
00:17
Fabiosa Best Lifehacks
Рет қаралды 52 МЛН
Creating Interactive Map Icons in Roll20 (Revised)
10:30
Nick Olivo
Рет қаралды 13 М.
Lego Racers Can't Be Made Today
22:10
Tin Sensei
Рет қаралды 515 М.
Creating Hidden Messages in Roll20 Games
6:55
Nick Olivo
Рет қаралды 10 М.
4 Scripts to Speed Up Group Combat
10:31
Nick Olivo
Рет қаралды 121 М.
10 Roll20 Shortcuts
8:08
Nick Olivo
Рет қаралды 197 М.
Expert Explains the Hidden Crowd Engineering Behind Event Venues | WSJ Pro Perfected
6:49
Polishing and Releasing My Tiny Geography Game
26:14
Sebastian Lague
Рет қаралды 2,2 МЛН
Easily Moving Between Maps via the Map Change API
15:05
Nick Olivo
Рет қаралды 10 М.
Creating Macros in Roll20
29:00
Nick Olivo
Рет қаралды 63 М.
Sniper Duel | Standoff 2
0:54
Standoff 2 Live
Рет қаралды 697 М.