Thank you very much! It was soo simple... ^) By the way i think it's nowhere documented about placing custom functions before game_start().
Thank you again!
Thank you again!
This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.
Show posts Menufunction game_start()
{
MainMenuGUI(gNewGame);
cCaptain.SetIdleView(2, 0);
}
function MainMenuGUI(GUI *theGui)
{
if (theGui == gNewGame)
{
PauseGame();
gNewGame.Visible = true;
}
}
GlobalScript.asc(7): Error (line 7): Undefined token 'MainMenuGUI'
By continuing to use this site you agree to the use of cookies. Please visit this page to see exactly how we use these.
Page created in 0.079 seconds with 13 queries.