Hello!
I have a little problem with my savegames. When the user hits the save button the save-gui disappears, waits 10 frames and then saves the game. After saving the game a gui appears that says the player, that the game has been saved. The problem is now, after loading the game the "game has been saved"-gui is still visible O.o I thought maybe a wait between saving and showing the gui would solve the problem, but it doesnt.
This is the script:
gSpeichern.Visible = false;
gSpeichernAbfra.Visible = false; // Savegame GUIs deactivated after pressing save button
lMeldung.Text = "Spielstand wurde gespeichert."; // Lable with text: Game has been saved
if(txtSpeichern.Text == ""){ // If Textbox where the Player can type a name of the savegame is empty, write "unnamed"
txtSpeichern.Text = "unbenannt";
}
Wait(10);
SaveGameSlot(SaveSlot, txtSpeichern.Text); // Save to selected slot with the typed name
Wait(10);
gMeldung.Visible = true; // Show the GUI with the label "Game has been saved" inside it
gMeldung disappears if you click on it.
Does anybody know what I can do so the gMeldung GUI is not shown, after the game has been restored? O.o
Asked and answered in this board, not even 24 hours ago: http://www.adventuregamestudio.co.uk/forums/index.php?topic=46686.0
Yeah, saw it some minutes after I posted and could not find a button to delete my thread XD Sorry for that :undecided:
No problem, you can't delete threads though.