Hello, i have a simple cutscene/intro when i starts the game, tried to make a simple function, but its doesn't work. I haven't got any error.
The character called cSalad
i tried the next in the Intro Room Script:
Code: ags
So if i would press ESC should be change the room to 2.
Any idea?
The character called cSalad
i tried the next in the Intro Room Script:
function on_key_press(eKeyCode keycode)
{
if (IsGamePaused()) keycode = 0; // game paused, so don't react to keypresses
if (keycode == eKeyEscape) player.ChangeRoom(2, 100, 50);
}
So if i would press ESC should be change the room to 2.
Any idea?