R
Raff
Guest
Hello !!
I'm trying to read room name info from an ini file. Using room_goto(name) next error happen:
"room_goto argument 1 incorrect type (string) expecting a Number (YYGI32)
at gml_Script_sc_load (line 16) - room_goto(name);" but if i try to convert this string to a number then this error happen:
"unable to convert string "room1_1" to number
at gml_Script_sc_load (line 16) - room_goto(real(name))"; ini file just can read string or real. So how can i do to load the room, because if i put room_goto(room1_1) of course, it works, but i wat to use the saved file. Thanks.
I'm trying to read room name info from an ini file. Using room_goto(name) next error happen:
"room_goto argument 1 incorrect type (string) expecting a Number (YYGI32)
at gml_Script_sc_load (line 16) - room_goto(name);" but if i try to convert this string to a number then this error happen:
"unable to convert string "room1_1" to number
at gml_Script_sc_load (line 16) - room_goto(real(name))"; ini file just can read string or real. So how can i do to load the room, because if i put room_goto(room1_1) of course, it works, but i wat to use the saved file. Thanks.