lsl Is there a way to check for neighbouring region names?

Fionalein

an old grumpy cat
Joined
Jul 30, 2019
Messages
139
SL Rez
2017
I could use a script to discern wether you entered a region from a neighbouring region or not. (I would use changed and teleport but you can cheat those by teleporting to no script lands and out of them again - in which case a teleport event would not be triggered).
 

Soen Eber

Vatican mole
VVO Supporter 🍦🎈👾❤
Joined
Sep 20, 2018
Messages
460
The RLV API has a teleport script which translates sim and sim coordinate to a global coordinate representing the entirety of the SL grid. Manipulating the functions used with a bit of math should give you both a forward and reverse translation berween that global coordinate and sim+local coordinate.