Pretty self explanatory, I want to be able to close the game and have the player spawn in a different location when the game is reopened. So far I have been able to close the game, but I can't get it to progress to the next area. It keeps closing instantly when I reload the save file.
How can I close the game and move the player to a different location?
RPG Maker MV SupportYou could put a transfer to a random location in an autorun on the starting map. Put a switch condition on the event if you want this to only happen in certain conditions
The savefile stores the exact state of the game - and if that is one command before the closing command, then of course it will close again directly after loading.
you'll need some logic between those commands that test if this is inside the closing sequence or after loading your game. And that is only possible by using persistent data.
there are several solutions for persistent switches or persistent variable or other, but without knowing how you close the game (the entire sequence, not just the final command) we can't tell you how to handle it correctly.
you'll need some logic between those commands that test if this is inside the closing sequence or after loading your game. And that is only possible by using persistent data.
there are several solutions for persistent switches or persistent variable or other, but without knowing how you close the game (the entire sequence, not just the final command) we can't tell you how to handle it correctly.
For the "don't quit immediately after loading" thing:
As a general tip - any time you want help, it always makes sense to show screenshots of what you already have.
It's hard to tell you what to change when we can't see how you're doing it now.
It's hard to tell you what to change when we can't see how you're doing it now.
Original thread: https://forums.rpgmakerweb.com/threads/how-can-i-close-the-game-and-move-the-player-to-a-different-location.168024/