Indie Dev

Hello Guest!. Register a free account today to become a member! Once signed in, you'll be able to participate on this site by adding your own topics and posts, sell your games, upload content, as well as connect with other members through your own private inbox!

Questions about Player coordinate on map

ManoMike

Villager
Xy$
0.00
Let`s say I have this hypothetical situation: I have an option on the menu that activates a common event which moves the player to a map where he interacts with an evented menu. The player can use it anywhere, and i`d like to have the player returned to exactly where he was before going into this "menu". Is there a way to save player coordinates and then have him teleported to those specific coords at a later date? As for which map he`s going back to, I already have things sorted out.
 

CT_Bolt

Global Moderator
Staff member
Resource Team
Xy$
0.02
That's fairly simple really...

Using 2 Common Events:

Before you transfer to your evented menu system... First save the player's MapID, X & Y to Variables.


When you want to go back...

Let me know if that works how you need it. (glad)(icecream)
If this post solved your problem, please click the best answer button. (cool)(thumbsup)
 
Top