Teleport destination check function
tracked
Charlotte Holmeforth
I'd like an LSL function to find out whether a teleport would land at the intended destination. Currently if the destination is in another region, the only way to know if the avatar will arrive at the target is to teleport them and find out. I would like to check the destination first, so i dont need to start a teleport that won't arrive at the target.
For example, if i wanted to teleport an avatar to another sim at <128, 128, 3020> there's no way to know if they'd actually land at that point or 3000m away on a ground landing point, or if they can't teleport into that parcel at all.
The proposed function would send the avatar id and group and target position, and the remote sim would return a vector back indicating where the avatar would land. This would either be at the target destination, at the parcel's landing point, or zero_vector if they dont have permission to enter the target parcel.
This would mean a teleport script can check the target first, and not teleport the avatar if they will end up far from the intended destination.
Log In
Spidey Linden
marked this post as
tracked
Issue tracked. We have no estimate when it may be implemented. Please see future updates here.
Beatrice Voxel
I'd add a couple more values to the returned vector - the region's avatar limit, and the current number of avatars present in the region. This would allow your script to neatly sidestep the "can't teleport cos there's too many people already there" problem, which now you find out by trying to teleport, and then you hover in midair for a few moments staring at the "too many avatars" toast that pops up. One COULD look at the region on the map and do a bit of mental math, but since population limits change (homestead regions, hi-cap regions, et cetera) you really do need to know what the limit is in addition to the number of people already there.
Charlotte Holmeforth
Beatrice Voxel It's a good suggestion. I first thought we should be able to get all the region data, or at least the parcel data, from a remote sim. But then bots would be able to sit in one place and bother all the regions even if they cant go there, so I suggested the minimum data you can get that's still useful and doesnt give away much.
Beatrice Voxel
Charlotte Holmeforth Yah I wasn't thinking of getting names, just a count and a limit. That way your teleport check can't see who is there, just that there's avatars present. It's one of the biggest pet peeves of mine, trying to get to a popular event and continually failing because the region is full.
Charlotte Holmeforth
Beatrice Voxel really it would be better if you didnt need a script and just got put on a list and notified when you can come back
"Your teleport is important to us.. Press 1 to be notified when an agent is available to teleport you"