Skip to main content

Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines

Hello, i purchased this recently but i can't start the project it says:

___________________________________________

############################################################################################

ERROR in

action number 1

of Create Event

for object SETUP:

Pop :: Execution Error - Variable set failed argument - read only variable?

 at gml_Script_tsprintf (line 8) -            argument[0] = string_replace(argument[0],"%",string(argument[c]));

############################################################################################

gml_Script_tsprintf (line 8)

gml_Script_init_player_data (line 32) -               global.monster_box_name[c] = tsprintf("Spirit Realm %",c+1)

gml_Object_SETUP_Create_0 (line 13) - init_player_data()


might be the new Update? well.. doesn't really matter if Version 2 or 3 i keep getting this and can't fix it myself 

pls help

It seems like "argument" is read-only now, you can fix it by updating the script like this:


(+1)

Thank you for the Update, haven't gotten the time yet to look into it before but it works now perfectly!