Skip to content

room_goto

CryoEagle edited this page Jan 12, 2019 · 2 revisions

room_goto

Go to specified room

Syntax:

room_goto(room)
Argument Description
Type room Room to go

Returns: void

Description:

This function is for making more levels and more complex games where will be more rooms, this function is able to move player to another level.

Example:

room_goto(typeof(Level2));

Above code will move player to Level 2.

Back to Rooms

Clone this wiki locally