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

Teleport from map side to opposite side

1732545466

Edited 1732549079
Basically the PCs are unable to leave the map, walking off one side brings you back in on the opposite side.  I have the teleport API and all pads are set up and linked.  Each pad is actually a long bar one square high x 32 squares wide to take up the side.  Placing a token onto the map and walking it along the pad does not trigger the teleport until I reach the middle of the token, but also I sometimes get a teleport when I am still a square away from the token?  I would get this if it only triggered at the pad centre, though that would seem contrary to the purpose, has anyone managed to set up a pad that is similar and had it be effective along the whole length?  I tried pads 9x9 and they seemed fine, but if I set up a pad as a 3x1 then it all starts going very odd
Nick Olivo did link to Github and an API by FinalFrog and at first that seemed to be OK (tested with 10x 1 pads) but once the pads were stepped up to 25 x 1 they also failed.  Not sure why and so can't continue.  Surely I am not the first DM to want to automate a large area teleport like this?
1732727559

Edited 1732727607
Just in case anyone also needs to throw their PCs about, FinalFrog did release an update: <a href="https://gist.githubusercontent.com/finalfrog/124f67ad84204546caf16fffd84115e4/raw/e11b9c1bf1f0a35e8f72b9f967fbb70b56d80801/MapTeleporters.js" rel="nofollow">https://gist.githubusercontent.com/finalfrog/124f67ad84204546caf16fffd84115e4/raw/e11b9c1bf1f0a35e8f72b9f967fbb70b56d80801/MapTeleporters.js</a> and that works a charm, tokens must be allocated to a player though, NPCs don't activate the teleport.&nbsp; It is quite old but it works, bit like my good self...