Joysurrender
Member
Hello there,
this is a very simple issue but I can't find out what's wrong.
I did this:
No matter what I give as integer, Game Maker always bring me to the next room (like room_goto_next() does).
Please notice: even if I simply use room_goto(Room54); still I can't reach Room54 but I'll reach ne next room.
Rooms in my projects are all called (for now) "Room#", while # is a number.
this is a very simple issue but I can't find out what's wrong.
I did this:
GML:
//in my project there are 85 rooms
n = get_integer("Tell me the room you want to see","")
if n > 0 and n < 86 {
ROOM = "Room" + string(n)
room_goto(ROOM)
} else show_message("Room does not exist :D")
Please notice: even if I simply use room_goto(Room54); still I can't reach Room54 but I'll reach ne next room.
Rooms in my projects are all called (for now) "Room#", while # is a number.