Hello. First of all, I'm using v.18.1 and my question is not so easy to explain, but I'll try.
So, I want to add an autosave script inside the Intro event, right after the Intro, at the same time as the player is being transferred to his house.
So I technically could playtest the game with the chosen character being in his house, and so I could make an autorun event inside the house and add
some Texts and some Set move Routes to the autorun event and then playtest with the character being there and see if what I did works.
I hope I could explain it well, and I hope you understood my question, I also hope somebody could help me with this.
Any help would be appreciated and those who help me will get credited in the Scene_Credits of my game project.
Thank you in advance. Regards
Hello and welcome to PokéCommunity :)
The function you're looking for is pbSave. Beware that you should put that script after transfering the player, and after any other script call, any switch/variable changes.
What StCooler said should work, however, there is an even easier method, without needing any scripts. Simply go to the Intro map (literally the first map in the editor, with map ID 001) and look at the two events there. Go to the top left event, and in the bottom left of the event page, change its trigger from "Autorun" to "Action Button". Then, go to the bottom left event, and change its trigger from "Action Button" to "Autorun". What you're doing here is disabling the standard intro sequence and enabling the "debug" intro sequence - it will just quickly and silently set up the character, then immediately transfer the player to the house. That way, every time you press "New Game" in the starting menu, you immediately go to the house, without needing any sort of save file.