I am adding a intro with this command:
LoadCinematicScript( "cinematics/intro.gsl");
WaitForCinematicToEnd();
The problem is that the game is not waiting for cinematic to end. When the camera switches over to character it has already started to fall (I am trying everything on my game demo RAGMAN now).
So physics and everything is not waiting for cinematics. I am putting this in main.gsl but I guess I need to do something more.
I found scripts for pausing game when in menu that has these commands:
bool gameActive = false;
if (!gameActive)
return false;
f (key == "KeyEsc")
{
ShowForm( "MainMenu");
SetRelativeMouseMode( false);
gameActive = false;
return true;
}
return false;
}
I don't know what to do
