M
M36games
Guest
I am making a game but the game gets an error every time I compile it!
Here is what I put in it:
if keyboard_string = "THREE"{
room_goto = 3;
}
I am trying to make it so when I type that it goes to that room. But I get this message when I compile it:
Error: gml_Object_obj_entername_KeyPressed_SHIFT_1(92) : cannot use function/script name for a variable, using "room_goto"
Here is what I put in it:
if keyboard_string = "THREE"{
room_goto = 3;
}
I am trying to make it so when I type that it goes to that room. But I get this message when I compile it:
Error: gml_Object_obj_entername_KeyPressed_SHIFT_1(92) : cannot use function/script name for a variable, using "room_goto"