Adventure Game Studio

AGS Support => Advanced Technical Forum => Topic started by: on Tue 02/09/2003 22:10:03

Title: avi files
Post by: on Tue 02/09/2003 22:10:03
I am having trouble adding an avi file to my game? Can anyone please reply? I have tried the manual, but it didn't help.
Title: Re:avi files
Post by: Ishmael on Wed 03/09/2003 05:22:08
What exactly are you doing? You should be able to play an .avi with PlayVideo(...); text script command.

QuoteI have tried the manual, but it didn't help.

What did you try to do with the manual? Play it as well? :D (j/k)
Title: Re:avi files
Post by: on Fri 05/09/2003 04:03:12
its the guy who posted this message

hey tk i tried the playvideo(...) and all that but it said i have a parse error in the global script do you want to fix it?

can u please reply
Title: Re:avi files
Post by: Gilbert on Fri 05/09/2003 04:06:38
Be concise on your problem. Please post the exact line you typed in the script here, and maybe post the exact error message as well.
People cant help you with such vague information.

Probably you just missed a semicolon at the end of the line...
Title: Re:avi files
Post by: on Sun 07/09/2003 04:15:27
i wrote this exact message:

PlayVideo (clip1.avi, 0, 1);

i'm just asking if this is wrong
if yes, what exact part of it is wrong

note: i tried with and without semicolon
        +clip1.avi is the video file

thanks for any replys
Title: Re:avi files
Post by: Pumaman on Sun 07/09/2003 17:01:18
Because the filename is a string, you need to put speech marks round it:

PlayVideo ("clip1.avi", 0, 1);


Title: Re:avi files
Post by: on Sun 14/09/2003 03:26:29
I tried the speech marks, but unfortunately, it didn't work.
I don't know what to do.
Title: Re:avi files
Post by: Fuzzpilz on Sun 14/09/2003 03:50:04
Is the avi file in the Compiled folder?
Title: Re:avi files
Post by: Pumaman on Sun 14/09/2003 11:19:12
Also, please be more specific about the problem, and any error messages you get.

"It didn't work" isn't very helpful if we're trying to figure out the problem.