Fundudeone
Member
Hi, GameMaker Studio 2 noob here! After looking searching some threads to try to learn how to make a script that will send the player to a random room from a list of four rooms, I ended up with this:
The issue is I keep getting sent to Room2. I've made sure Randomise(); is used on game start. I've also tried removing Room2 from the list of rooms as a whole, but the game didn't even launch. This is literally my second day using GameMaker Studio 2, could someone please help?
GML:
room_goto(choose(asset_get_index("Room2"), asset_get_index("Room3"), asset_get_index("Room4"), asset_get_index("Room5")));
show_debug_message(room);