Remember location from common event

● ARCHIVED · READ-ONLY
Started by shftatsix 4 posts View original ↗
  1. Im trying to make an item that, on use, transports you to a new map, does some event stuff, lets you walk around, and then brings you back to the map and x,y position you were at previously. Needs to be used anywhere on any map.

    I know it probably has to do with the get location info event but I could use some info on how to set up something like this. Thanks :)
  2. Just set variables to the player's X and Y coordinates, and the current Map ID. You can do this with "Control Variables".
  3. shftatsix said:
    Im trying to make an item that, on use, transports you to a new map, does some event stuff, lets you walk around, and then brings you back to the map and x,y position you were at previously. Needs to be used anywhere on any map.

    I know it probably has to do with the get location info event but I could use some info on how to set up something like this. Thanks :)
    I did this for my game, to gain access to a special city/side quest hub any time throughout the game.

    You need 3 variable to be set, remember map id, remember locaction X, and remember location Y.

    On the item that teleports you, those variables should be set one after another

    After that's done, transfer char where ever you want.

    Then all you have to do it place a portal event or whatnot on the special map, so they can return using the variables you just set.
  4. Ahh perfect, thank you much! I was looking at the get location info and not control variables.