Rooms

Game Maker 8

Rooms

The following functions will give you information about a room:

room_exists(ind) Returns whether a room with the given index exists.
room_get_name(ind) Returns the name of the room with the given index.

Note that, because rooms change during the playing of the game, there are other routines to get information about the contents of the current room.