room_goto() (Game Maker)

( Game Maker 6.1, 7 )

room_goto - change the current room

Description

room_goto ( room_name )

  • room_name the room to change to.

room_goto() changes the current room to one you specify.

Examples

Assuming the game was running a room named rmBasement, you could change the room to rmAttic using this code.

room_goto(rmAttic);

Related Pages

Unless otherwise stated, the content of this page is licensed under Creative Commons Attribution 2.5 License.