Adventure Game Studio

AGS Support => Beginners' Technical Questions => Topic started by: on Sun 26/09/2004 06:01:15

Title: Problem with cutscene triggering.
Post by: on Sun 26/09/2004 06:01:15
How can i trigger a cutscene as soon as the game starts? Without having to do anything in the game. I've read the begginers tutor and cunsulted the manual but no help. sorry too be a pain.
Title: Re: Problem with cutscene triggering.
Post by: dreammaster on Sun 26/09/2004 07:49:44
I'm not sure what you mean by "without having to do anything in the game.".. How about setting up your cutscene in the after fade in interaction of your starting room. You could do as much as you want, then when it finishes, control will automatically be given to the player.
Title: Re: Problem with cutscene triggering.
Post by: Scorpiorus on Sun 26/09/2004 14:42:07
A cutscene code is enclosed by StartCutscene() and EndCutscene() script functions. You neet to put the into the room on player enters screen (after fade-in) event.

Player enters screen(after fade-in) - Run Script:

StartCutscene();
..
..
//Ã,  cutscene script here
..
EndCutscene();

EDIT: ah, didn't see there is another topic in the list.