Show Picture doesn't Work after loading save files.

Simply speaking:


When the player's character dies, instead of sending the player to that gameover scene, I


transfer him into a cutscene right before the character really dies and then load the


previous save file using this command: DataManager.load_game(0)


But then, after reloading the game, every "show picture" event command just


doesn't work(it shows no picture at all) unless the player restarts the game


and reloads the save file manually....


I don't understand what's happening there.


Thanks for at least reading this
Try this, though I'm not sure. =P

Put everything in script call.

Code:
if DataManager.load_game(0) # check if there is save file 1 present  DataManager.load_game(0) # load save file 1  Sound.play_load # If you want load sound  $game_system.on_after_load  SceneManager.goto(Scene_Map)else # play sound and close window  Sound.play_buzzer # ERROR soundend
How do you transfer the player on death? if you do that with a script, please link to that script.


If you do that by eventing, please show a screenshot of the event pages.


Additionally, please show a screenshot of the cutscene event.
How do you transfer the player on death? if you do that with a script, please link to that script.

If you do that by eventing, please show a screenshot of the event pages.

Additionally, please show a screenshot of the cutscene event.
I transfer the player before the player's character really die (when the character's HP goes below 5),

the player is automatically transferred into an empty map with one autorun event.

The event basically tells you that you died and then it does script call:

DataManager.load_game(0)

The game loads fine.

Just that there is no more picture shown....unless the player close the game, and then reopen the game, and then

load the save file(0).

I am using this script btw:

http://www.rpgmakervxace.net/topic/27428-auto-load-skip-title-single-save-system-v1/

Try this, though I'm not sure. =P

Put everything in script call.

if DataManager.load_game(0) # check if there is save file 1 present DataManager.load_game(0) # load save file 1 Sound.play_load # If you want load sound $game_system.on_after_load SceneManager.goto(Scene_Map)else # play sound and close window Sound.play_buzzer # ERROR soundend
W-w-whoa......

Basically, I am using one save file system (script link above), so I don't need to

check if there is save file present or not.....

what I want to know is this part:

$game_system.on_after_load

SceneManager.goto(Scene_Map)

what does this do?

"on after load"?
To be honest it's kinda hard to explain, but it ... kinda setups game when loading, like in normal manual load. (Let's say refreshing then)

It's taken from 'load' method from basic scripts.

So without these thingies, just use:

DataManager.load_game(0) # load save file 1$game_system.on_after_loadSceneManager.goto(Scene_Map)and it should work - though I'm not 100% sure.
To be honest it's kinda hard to explain, but it ... kinda setups game when loading, like in normal manual load,.

It's taken from 'load' method from basic scripts.

So without these thingies, just use:

DataManager.load_game(0) # load save file 1$game_system.on_after_loadSceneManager.goto(Scene_Map)and it should work - thought I'm not 100% sure.
That's the golden answer! 😀 .

In fact, I found this when I am searching this forum for "$game_system.on_after_load" :

http://forums.rpgmakerweb.com/index.php?/topic/33527-problem-with-pictures/

Guess those 2 lines are needed to refresh the game map....~~

Thanks a lot guys!!
I transfer the player before the player's character really die (when the character's HP goes below 5),


the player is automatically transferred into an empty map with one autorun event.


The event basically tells you that you died and then it does script call:


DataManager.load_game(0)
If you stay with eventing and the default engine, the pictures will always work.


If they don't, then you added a script that broke the engine, but hasn't anything to do with that death event or the load command.


We need more information from you - there is a reason why I asked for screenshots and links, because in typed description people usually forget most of the important things...
Yes, that's what I meant more or less.

btw - If you're loading using script call it may crash when there'll be no save present, so that's why I've put that checking for that file.

There's no matter how many save slots do you use, it will simply crash when that slot will be empty. ~that's on the side note.

Original thread: https://forums.rpgmakerweb.com/threads/show-picture-doesnt-work-after-loading-save-files.43309/