Transfer player on game start

Is there a method that when the game starts that it transfers the player to a certain location rather they load a save or not?


For example, I save my game on a map, close it, open the game again, I load my save but instead of being on the map that I saved on I am on a predefined map.
I'm not in a position to go poke around my rpgmaker, but you could probably do something like a global condition branch, that when a game is saved and then exited, that it teleport the player to those specific coordinates before the exit/save.

Otherwise you might have to have a script created that can do that.
For new game, just put the player's starting location where you want them to be.


When loading from a save file, I'd look at Scene_Load.prototype.reloadMapIfUpdated - comment out the condition and use values rather than variables for the reserveTransfer() call.
For new game, just put the player's starting location where you want them to be.


When loading from a save file, I'd look at Scene_Load.prototype.reloadMapIfUpdated - comment out the condition and use values rather than variables for the reserveTransfer() call.

Pretty sure that doesn't exist in ace 😉 But thank you, gave me an idea where to look.
Sorry - for some reason I thought you were talking MV.  However, there IS a load_map_if_updated method in Ace, in the DataManager script.  And it's even easier than MV:

Code:
  #--------------------------------------------------------------------------
  # * Reload Map if Data Is Updated
  #--------------------------------------------------------------------------
  def self.reload_map_if_updated
    if $game_system.version_id != $data_system.version_id
      $game_map.setup($game_map.map_id)
      $game_player.center($game_player.x, $game_player.y)
      $game_player.make_encounter_count
    end
  end

Again, get rid of the conditions surrounding the block, and replace the map and player coordinates with the values you want to use.  Easy peasy 🙂
Thanks, works perfectly!
DP3 has a script snippet that lets you run a common event on loading. You could just use that and handle the transfer there. Maybe use a conditional branch so that you can change where the spawn point is.

Original thread: https://forums.rpgmakerweb.com/threads/transfer-player-on-game-start.70558/