There are two buttons which doesn't work:
1.Start
2.Intro text
When I click on them I just get to the menu again.And If I use the load button and cancel it I'm on the page with intro text. I used This code:
function Button1_OnClick(GUIControl *control, MouseButton button)
{
player.ChangeRoom(2);
}
function Button2_OnClick(GUIControl *control, MouseButton button)
{
gMainMenu.Visible=false;
gRestoreGame.Centre();
gRestoreGame.Visible=true;
}
function Button3_OnClick(GUIControl *control, MouseButton button)
{
player.ChangeRoom(3);
}
function Button4_OnClick(GUIControl *control, MouseButton button)
{
QuitGame(1);
}
Rooms are:
1.room with menu
2.Starting place
3.Intro text
1.Start
2.Intro text
When I click on them I just get to the menu again.And If I use the load button and cancel it I'm on the page with intro text. I used This code:
function Button1_OnClick(GUIControl *control, MouseButton button)
{
player.ChangeRoom(2);
}
function Button2_OnClick(GUIControl *control, MouseButton button)
{
gMainMenu.Visible=false;
gRestoreGame.Centre();
gRestoreGame.Visible=true;
}
function Button3_OnClick(GUIControl *control, MouseButton button)
{
player.ChangeRoom(3);
}
function Button4_OnClick(GUIControl *control, MouseButton button)
{
QuitGame(1);
}
Rooms are:
1.room with menu
2.Starting place
3.Intro text