- Joined
- Feb 1, 2020
- Messages
- 65
- Reaction score
- 8
- First Language
- English
- Primarily Uses
- RMMV
I'm using the load command from this table:
Which does load the save file's map, player position, variables... but the audio isn't loaded. Is there something I can add to also load what audio was playing when the game was saved?
EDIT: If anyone else has this problem, I found a solution over here.
EDIT 2: If your problem isn't about looping, it turns out the above script is missing an important line, an updated version is below.
Code:
"if (DataManager.loadGame(index)) {
$gamePlayer.reserveTransfer($gameMap.mapId(), $gamePlayer.x, $gamePlayer.y);
$gamePlayer.requestMapReload();
SceneManager.goto(Scene_Map);
}"
Which does load the save file's map, player position, variables... but the audio isn't loaded. Is there something I can add to also load what audio was playing when the game was saved?
EDIT: If anyone else has this problem, I found a solution over here.
EDIT 2: If your problem isn't about looping, it turns out the above script is missing an important line, an updated version is below.
Code:
if (DataManager.loadGame(6)) {
$gamePlayer.reserveTransfer($gameMap.mapId(), $gamePlayer.x, $gamePlayer.y);
$gamePlayer.requestMapReload();
SceneManager.goto(Scene_Map);
$gameSystem.onAfterLoad();
}
Last edited: