GameMaker: Studio

GameMaker: Studio

Find, play, and make games easily
Discover, rate, and download the best player-created games made in GameMaker: Studio for free. Or try making your own and share with the community. Click here to learn more.
save and load proplems
i followed this tut https://www.youtube.com/watch?v=UzqrNuE5dKs
after following i tried to load but this happen

___________________________________________
############################################################################################
FATAL ERROR in
action number 1
of Mouse Event for Left Button
for object obj_continue:

Variable obj_continue.LoadFile(100002, -2147483648) not set before reading it.
at gml_Script_scr_loadgame (line 4) - var loadedroom = file_text_read_real (LoadFile);
############################################################################################
--------------------------------------------------------------------------------------------
stack frame is
gml_Script_scr_loadgame (line 4)
called from - gml_Object_obj_continue_LeftButtonDown_1 (line 1) - scr_loadgame();

any help will be helpfull (duh) thank you
< >
Showing 1-2 of 2 comments
Daynar 8 29 May, 2018 @ 10:49am 
The variable LoadFile is not set before the script tries to call it. You should set that variable to the file name of the save file.
Thanks works now!
< >
Showing 1-2 of 2 comments
Per page: 1530 50