I've been working on a game that uses different places. And I've found myself stuck and have absolutely no idea how to make a spawn system where in my character resumes the point to where it's been. Example: The Starting place is a house, in the house there are 2 doors, 1st door teleports you outside(another place in the universe), and the 2nd door teleports you to the garage(another place in the universe). Now the problem starts here, when I return back to the house (via teleporting). How can I make sure I go out the right door/spawn in front of the right door? How do I make a spawn in which my character which was from the garage place pops out in front of the garage door NOT THE DOOR THAT LEADS OUTSIDE
If you can redirect me to a link that teaches all about spawn locations and scripts which saves and functions as checkpoints, I would really appreciate it.

4 comments
Thank you man! Much appreciated
np
The link itself was plenty help, you didn't need to give tips as it is provided by the link you gave. Although, thank you for the help, (P.S) if you're not sure about certain answers he part where you say I think, you can always say it as a comment not as an answer.
I know.