C
Clemens van Brunschot
Guest
Let's give it a try
Code:
// Go to a room while testing
if ((keyboard_check_direct(vk_lcontrol) or keyboard_check_direct(vk_rcontrol))
&& global.testing
&& keyboard_check_pressed(ord("R"))) {
destination = asset_get_index(get_string("Go to room with name: ", "rm_"));
//Alternatively: destination = real(get_string("Go to room number: ", "1"));
if (room_exists(destination)) room_goto(destination);
}