i've had an idea in my head for an illusion that could be done with doPlayerTeleport (it's not very different from what's already been done in
the original thread), but in order for it to work currently, i'd have to spend a lot of extra space having four copies of the same map so that seamless teleports could be done through some hallways. instead i figured a little addition to the mod would hopefully be to its benefit, so here's what i'm proposing
the current state of the mod allows me to do this (it's all a top down view of some plates on the ground):
i tell A to teleport me the moment i step off of it, everything works perfectly, this is what is already known but i figured i'd illustrate it so you understand the next couple of images.
the trick i'm trying to pull looks more like this:
two things change here: the player is rotated exactly 180 degrees relative to their previous facing direction,
and the player is teleported to a point on B that is directly across the brick from where they were on A. both the player's camera and the point they teleport to needs to be rotated 180 degrees around the center of the brick.
unfortunately, since the only options for changing a player's view with the mod is
absolute, i get this instead:
and i can't check the second box or the absolute rotation will refuse to work in the first place
so my proposal would be to change the dropdown menu a little by adding a few options.
instead of just:
there would also be the options "90", "180", and "270". (and the relative option stays exactly the same but would essentially also represent a 0 or 360 degree rotation)
now, by selecting 180, the teleport looks more like this:
of course, i end up in the center of B because i haven't told my position to change 180 degrees around the plate as well,
so finally i check the relative position box and i get what i'm looking for, this:
hooray! hopefully that makes sense. there are probably even better ways of implementing this but this is what came to my mind first.