Heya.
I'm working on a script for a amnesia level and I've ran into a bump. Actually a jolt. I'm trying to teleport a player from one hallway to another, both hallways are identical. The goal is to get it so the player teleports, but no one can tell. What I have now is a Area across the hallway A, so when the player walks through it it teleports him to hallway B. However the teleport tends to screw things up. Change his camera angle, turn him around and stuff. This creates a jolt where as the player walks through this section of the hallway his camera will suddenly turn angles and he might find himself walking in another direction. Giving a noticeable jolt.
Is there any way to get a variable for the players exact positions/head position? Then I could save the info right before the teleport and restore afterwords. If not does anyone else know a way to do this?
ALSO, I could only figure out how to teleport from the area in the hallway A to a Player start in hallway B. So if the player is sneaking along the wall he is suddenly teleported into the middle. Another jolting problem.
Any ideas?
Thanks in advance for any help. You guys(and gals) are great
If necessary I could fix the second problem by making multiple small areas across hallway A and multiple start positions in hallway B, and just teleport to different start positions based on which area the player collided with. There would still be a jolt but it would be smaller. I am hoping someone else has a smoother looking option though. Again, thanks to anyone that can help