I had an idea about a game... Well... I'm not going to go into deeeeep details, but...
I want to have the player Push a button, lets say "H" to teleport to a pre-defines Map, have that save the data from where you teleported from, and by pushing "H" again you go back to where you were.
I though this could be done by a common event but... well... IDK really.
well you can just put the char's location into variables, as well as the map its self, so you can return to that exact location, just by using those variables in the transfer event command.
If you're using the same proc to return, you'll need a condition branch beforehand.
To be exact, this:
If switch is on, turn off switch, and transfer char based on variable.
After the entire condition branch put, the char locations, and map into variables., turn on switch, transfer char to pre-defined map.
Hm, I'll have to try this later, Right now I'm compiling scripts I'm wanting to use. Sigh....
EDIT:
Okay, so I don't know how to save a players previous location to a variable. I also don't know how to call when the person presses a key. I'm assuming it's a script but, I have no clue.
Mine works just fine, that will just confuse me for no reason. Anyway thank you.
EDIT:
Actually doing it your way, after I transfer back to the map I was in, it then automatically transfers me back to the hub again without stopping.
Perhaps the script, exit event proc. works just fine though so no biggy.