Adventure Game Studio

AGS Support => Beginners' Technical Questions => Topic started by: on Tue 05/08/2003 03:23:18

Title: intro
Post by: on Tue 05/08/2003 03:23:18
I know the question has beens ask and i under stand scripting, but where in the hell do i put it. i under stand to play a vid i would use:
PlayVideo (string bla bla bla), but where in the scripting would i put it. I put it in game_start but i always get unexpected error playvideo?
need help please
Title: Re:intro
Post by: Gilbert on Tue 05/08/2003 05:12:09
Put it in where you want the video to be played. For example, if you want it to be played after an interaction, just put it in  the script of that interaction.

In your case, I guess you want the video to be played when the game starts, so you mmay put it in the Player enter screen after fade-in interaction for the first room loaded (depends on which room your player character starts at, if it's 0, then it's in intro.crm).

The game_start() function in the global script is for initialization of variables, etc. before the first room is loaded, so don't put much "executing" commands there, or else you may get a crash or a warning.
Title: Re:intro
Post by: on Tue 05/08/2003 11:13:09
I guess what I really need to know is where do I find that. If not in game start then where. I need a step by step On how to do it.
Title: Re:intro
Post by: on Tue 05/08/2003 11:44:18
thinks for the boost I'm a dumb-a$$ I figured it out.thanks for the help