Event Commands (Page1) -> Control Variables -> Game Data
Here you can set 1 variable for the Map ID (Other -> Map ID) and 2 variables for the Players X and Y position (Character -> Player -> Map X/Y).
Set these variables upon reaching a Checkpoint.
Then, in the Transfer Player Event, set the Location to "Designation with variables". ID with the variable you saved the Map ID and X/Y with the Map X/Y variables respectivly.
This way you will always be transfered from the Avatar Room to the latest checkpoint.
Hope you were able to understand this, if not, just ask what you did not understand. 😤
I'm sorry, but I am indeed having a hard time understanding your post.
First, I'm not entirely sure which event settings are going on which map. Also, I'm not understanding how to set the location in the way described so it will send the player back to the latest checkpoint. I do thank you very much for your help so far, and if you can elaborate, please do.
Checkpoint Map
What he's telling you to do is this: When you reach a checkpoint on your map, you have it call "Control Variables" from Page 1 of the Event Commands. Under "Control Variables", you select "Game Data". Under "Game Data", there's a drop down box that you select "Map ID" from. What this does, is it will transfer you to that SPECIFIC map.
Now, you also want to set up a Variable for "Player X Position" and "Player Y Position" so that you will be taken to the exact spot you were when you reached the checkpoint and it will teleport you back to that exact spot.
You'll have to save these all as separate variables and I recommend naming them something you will remember what they are.
Anyway, to create a variable for the X position, you'll change it to an empty one (and name it!) and go back down to click "Game Data". In here, under the "Character" heading, is "Map X". Select it, and it'll change your variable to the value that your character occupies in the X position. Do the same thing with your Y Position.
Once those are set, you just need to have the "Transfer Player" at the end of the event to teleport you into your Hub room.
Hub Room Map
When you want to leave the Hub Room, you select the event you would use to "Transfer Player" and then select the "Transfer Player" option. Under that, instead of specifying an actual position, click the box at the bottom that allows you to use 3 variables to do it. The first variable is asking you which variable you used to save the Map ID to. Put that one in there. The second variable is asking where you put the X Position variable in. Load that one in there. The third variable is asking you where you put the Y Position variable in. Load that one in there. Once they're properly loaded, all you should have to do is sit back and watch it work.
This method requires three separate variables to work. So, you'll have to create and label 3 separate variables. However, once it does work, you need only remember to copy those three variables into each place you do it, so that the game will change the variables according to where they were called. It'll remember your "teleport from" location that way.
Does that help?
Two common events. First stash your coordinates and when you need to, return to those stashed coordinates.
Okay, I think I got.
I'll just have to put this stuff in and see. Thank you all very much.
Okay, ONE more question. I am so sorry for this, but I just need to make certain.
Will the variables I put in for leaving the avatar room/Hub Room allow the player to always go back to where they came? I need to be certain that once the player gets to a new checkpoint and decides to change their avatar, they won't be transported to an old checkpoint when they're done.
As long as you stash the coordinates right before you transfer to the Avatar room, the return will send you back there. You may need to adjust the X or Y one tile if they can't go back exactly where they came from but a lot of times, that's not needed.
Once the variables are called via event, they're stored as a number for that variable until that variable changes. The variable shouldn't change at all, unless you tell the game to call it again and to set the variable to the X, Y, and Map ID coordinates.
In short, it stays forever until you tell the game to change it.