• Hey Guest! Ever feel like entering a Game Jam, but the time limit is always too much pressure? We get it... You lead a hectic life and dedicating 3 whole days to make a game just doesn't work for you! So, why not enter the GMC SLOW JAM? Take your time! Kick back and make your game over 4 months! Interested? Then just click here!

GML Programatically Create a List of All Rooms

I'd like to make a list of all game rooms (their numbers and names) that's programmatically created (meaning the list changes when I add/delete/rearrange rooms in the resource tree and then run the game.)

Can I use room_last, and loop through, or do I have to worry about missing room indices, or room_last not being the highest number?
 
Top